Respond to HEAD requests with 200, not 400
Open
- Dominant language
- Ruby
- Stars
- 1.5k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/cloudhead/less.js/issues/1232
http://stackoverflow.com/questions/15519637/why-do-i-get-400-bad-request-header-on-a-thin-ruby-website-hosted-on-heroku/15520030?noredirect=1#15520030
due to this line
https://github.com/cloudhead/toto/blob/master/lib/toto.rb#L333
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading lib/toto.rb around line 333 and review the linked Less.js and Stack Overflow references for the HEAD-request behavior. Reproduce the request handling if possible, then verify that HEAD requests receive a 200 response rather than 400.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100