Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a case-insensitive way to inspect Request headers #70

Open
nektro opened this issue Jan 25, 2022 · 1 comment
Open

Add a case-insensitive way to inspect Request headers #70

nektro opened this issue Jan 25, 2022 · 1 comment
Milestone

Comments

@nektro
Copy link
Contributor

nektro commented Jan 25, 2022

the hashmap currently provided by Request.headers(Allocator) does not currently support this

@gitkraken-boards gitkraken-boards bot added this to the 0.2 milestone Jan 25, 2022
@nektro
Copy link
Contributor Author

nektro commented Jan 25, 2022

first noticed this because HTTP/1.1 clients will send headers as Cookie and Set-Cookie

however, http/2 clients will sent the same headers as cookie and set-cookie

thus making the name inaccessible unless both are checked

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant