Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a bug referencing the wrong header constant for Cosmos response (#…
…311) This fixes a bug where the sdk expects the "x-ms-max-item-count" HTTP response header for a Cosmos response. However, instead "x-ms-max-item-count" is an optional request header[1]. Instead a new const has been added, "x-ms-item-count", to coincide with the expected response header[2] from Cosmos requests. [1] https://docs.microsoft.com/en-us/rest/api/cosmos-db/common-cosmosdb-rest-request-headers [2] https://docs.microsoft.com/en-us/rest/api/cosmos-db/common-cosmosdb-rest-response-headers
- Loading branch information