Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
This repository was 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

Description

@jklein131

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions