-
-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
Responses with 304 status code have no body even if it contains a non-zero Content-Length header.
https://www.rfc-editor.org/rfc/rfc9112.html#section-6.3-2.1
Parts of llhttp_message_needs_eof should run before the parser->flags & F_CONTENT_LENGTH check:
Lines 77 to 78 in 926c982
| if (!(parser->flags & F_CONTENT_LENGTH)) { | |
| if (!llhttp_message_needs_eof(parser)) { |
Metadata
Metadata
Assignees
Labels
No labels