lua-http
lua-http copied to clipboard
HTTP/2: Valid response trailers are rejected.
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