bigcommerce / bigcommerce-api-php

Connect PHP applications with the Bigcommerce Platform
https://developer.bigcommerce.com
MIT License
143 stars 186 forks source link

Upcoming changes to HTTP header casing #278

Open sandipklevu opened 2 years ago

sandipklevu commented 2 years ago

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

lord2800 commented 2 years ago

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