bigcommerce-api-php icon indicating copy to clipboard operation
bigcommerce-api-php copied to clipboard

Upcoming changes to HTTP header casing

Open sandipklevu opened this issue 4 years ago • 1 comments

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

sandipklevu avatar Jan 15 '22 01:01 sandipklevu

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

lord2800 avatar Jan 15 '22 01:01 lord2800