kemalcr / kemal

Fast, Effective, Simple Web Framework

Home Page:https://kemalcr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kemal return 200 status instead of 404 (after update to 0.25)

kostya opened this issue · comments

after update kemal, i find this bug, when request unknown path.
kemal 0.25.1, Crystal 0.27.0

require "kemal"

get "/" do
  "Hello World!"
end

Kemal.run
curl -I http://127.0.0.1:3000/bla
HTTP/1.1 200 OK
Connection: keep-alive
X-Powered-By: Kemal
Content-Type: text/html
Transfer-Encoding: chunked

Which Kemal version were you using before updating to 0.25.1 because this is also happening in 0.25.0 🤔

it was 0.24.0

Hi @sdogruyol . Check this #513