Closed dsinni closed 2 years ago
Hey @dsinni,
thank you for the PR! Could you please also add test cases for this and extend the changelog?
@bripkens Sure, I'll have to circle back, though. Kind of under the gun on some other projects.
For the record, I'm using this fix in a fork and including in my project. Appears to be doing the trick.
@dsinni can you please add tests? )
I really need your fix.
This proposal handles
HEAD
requests similarly toGET
requests, since they are essentially the same with the difference ofHEAD
response not containing a body.If special handing for
HEAD
requests is needed, that can be set explicitly inexpress
routing or otherwise.