hobbit icon indicating copy to clipboard operation
hobbit copied to clipboard

fix incomplete handling of no-content responses (100..199, 204, 205, 304)

Open slact opened this issue 9 years ago • 0 comments

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.

slact avatar Oct 02 '15 02:10 slact