Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Header names are not RFC 2616 (Field names are case-insensitive) #140

Open
jklein131 opened this issue Sep 15, 2019 · 0 comments
Open

Header names are not RFC 2616 (Field names are case-insensitive) #140

jklein131 opened this issue Sep 15, 2019 · 0 comments
Labels

Comments

@jklein131
Copy link

jklein131 commented Sep 15, 2019

As per: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
This works:
curl -H "x-api-key: <uuid>" https://data.dol.gov/get/accident_abstract/limit/0 -v
This does not:
curl -H "X-API-KEY: <uuid>" https://data.dol.gov/get/accident_abstract/limit/0 -v

The servers should process headers in a case-insensitive manner.

@giridhar giridhar added the bug label Nov 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants