lua-http icon indicating copy to clipboard operation
lua-http copied to clipboard

HTTP/2: Valid response trailers are rejected.

Open Ph4ntomas opened this issue 4 months ago • 3 comments

From the RFC: 8.1.2.1. Pseudo-Header Fields

Pseudo-header fields MUST NOT appear in trailers.

This is properly handled for request headers, by checking the nth_header parameter in validate_header, however the response validation does not contain such check, and tries to enforce that responses trailers contain :status pseudo-header

Ph4ntomas avatar Jul 23 '25 14:07 Ph4ntomas