Misleading early response warning on HTTP/1.1 HEAD/OPTIONS requests with Transfer-Encoding: chunked #4462
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
t:server
Issues related to the HTTP server
Consider a no-body
OPTIONS
request, as could be sent viacurl
:This request does satisfy the
OPTIONS
requirement of not having a body:--data
or similar) is specified in thecurl
invocationcurl
(in this simple example), Safari or whatever else, will immediately send a chunk data size of 0.As described in RFC9112
or MDN HTTP Reference:
As such, any application that does
HEAD
/OPTIONS
handling will typically not attempt to read the request body when handling these methods. Unfortunately, doingcomplete()
on this kind of a request will generate theevery time, essentially generating worthless warnings. Note that there is no method logged, so there is no way to workaround this by filtering away only the warnings related to
HEAD
/OPTIONS
.The text was updated successfully, but these errors were encountered: