mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-22 04:30:42 +00:00
Motivation: The HTTPType to HTTP2 conversion functions can trip up on invalid psuedo header fields. Prior to this change they'll loop indefinitely, instead they should be rejected per RFC 9113 § 8.3. Modifications: - Throw on unrecognised psuedo header fields - Add tests Result: - More spec compliant