Unhandled get
- Dominant language
- Kotlin
- Stars
- 14.5k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
A few times a second my screen is filled with:
```
2019-08-12 06:17:03.171 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /search
2019-08-12 06:17:06.197 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:09.232 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:12.266 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:13.205 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /search
2019-08-12 06:17:15.301 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:18.336 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:21.369 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:23.238 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /search
2019-08-12 06:17:24.404 [nioEventLoopGroup-4-1] INFO Application - Unhandled: get - /
2019-08-12 06:17:24.761 [nioEventLoopGroup-4-1] INFO Application - 302 Found: GET - / -> /static/index.html
2019-08-12 06:17:24.810 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/index.html
2019-08-12 06:17:24.878 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/css/reset.css
2019-08-12 06:17:24.900 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/css/mainstyle.css
2019-08-12 06:17:24.927 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/images/nav/nav_over_01.png
2019-08-12 06:17:24.935 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/images/nav/nav_05.png
2019-08-12 06:17:25.325 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/images/diracian.png
2019-08-12 06:17:25.340 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/images/alto-whitelabel.png
2019-08-12 06:17:25.356 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/images/andaz-whitelabel.jpg
2019-08-12 06:17:25.369 [nioEventLoopGroup-4-1] INFO Application - 200 OK: GET - /static/images/payscout-whitelabel.png
```
The only difference from a request that works is the GET is lowercase and the other is uppercase. I don't see any mention in RFC 7231 that says that the verb needs to be capitalized. However, they do make a point to capitalize it through the entire document. Is there a way for me to handle these unhandled requests?
Contributor guide
Research direction
Start by reproducing lowercase GET requests for the / and /search routes and trace where Ktor reports them as unhandled. Check the request-method routing and handler entry points; done should mean the reported requests have defined handling behavior rather than repeated unhandled messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100