Skip to content

Commit

Permalink
Remove X-OSDK-Request-Context header (#531)
Browse files Browse the repository at this point in the history
* Remove X-OSDK-Request-Context header

* Add changeset
  • Loading branch information
bryantpark04 authored Jul 26, 2024
1 parent e2ab8db commit f91cd58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-goats-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osdk/client": patch
---

Temporarily disable X-OSDK-Request-Context header
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ export const addUserAgentAndRequestContextHeaders = (
fetch: createFetchHeaderMutator(
client.fetch,
(headers) => {
headers.set(
"X-OSDK-Request-Context",
JSON.stringify(client.requestContext),
);

if (withMetadata.osdkMetadata) {
headers.set(
"Fetch-User-Agent",
Expand Down

0 comments on commit f91cd58

Please sign in to comment.