tlrobinson/jack

Response Constructor and ContentLength middleware set inappropriate headers for 304 responses

Closed this issue · 3 comments

Content-Type should not be set if the status passed into the constructor is a 304.

ContentLength Middleware should not add a Content-Length to a 304 response.

Here is a commit fixing these issues:
http://github.com/nrstott/jack/commit/70604c18b569fd644dcf9b730a6846fb47a630d9

what is this SHA?

Oops. SHA: 35419c0