hobbit
hobbit copied to clipboard
fix incomplete handling of no-content responses (100..199, 204, 205, 304)
Neither Content-Type nor Content-Length should be present.
This is not mandatory according to the HTTP spec, however, Rack::Lint considers responses with the above status codes that contain either header as invalid.
Also, 205 and 304 response codes were not handled.