HaxeFoundation / HaxeFoundation/haxe

Http.responseHeaders should be case insensitive

Open
#8,965 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

as per standard http/1 response headers are case insensitive. The current implementation as `Map` is case sensitive and leads to wrong behavior. I was just bitten by an upgrade of a proxy server which now rewrites all headers to lower-case (like http/2) as default. I guess this will happen more and more, therefore I suggest to replace responseHeaders with a case insensitive implementation (convert all values to lower case).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.