Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Upcoming changes to HTTP header casing #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sandipklevu
Copy link

What?

For example, HTTP header names such as X-Rate-Limit-Requests-Left may instead be returned as x-rate-limit-requests-left. Per the HTTP specification (https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2), HTTP header names should always be treated as case-insensitive, so we do not consider this to be a breaking change to the API.

Tickets / Documentation

Screenshots (if appropriate)

BigCommerce-HTTP-Header-Casing-Change

https://developer.bigcommerce.com/changelog#publications/upcoming-changes-to-http-header-casing

For example, HTTP header names such as `X-Rate-Limit-Requests-Left` may instead be returned as `x-rate-limit-requests-left`. Per the HTTP specification (https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2), HTTP header names should always be treated as case-insensitive, so we do not consider this to be a breaking change to the API.
@lord2800
Copy link
Contributor

This is already handled here by comparing the header names to the input header name case insensitively.

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

Successfully merging this pull request may close these issues.

2 participants