Skip to content

Commit 679c015

Browse files
feat: Use format-neutral profile download Accept header
1 parent cae7386 commit 679c015

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 127
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-5163e8941e42f7fb84e10f572f538202b31722c84bb980db74ccd44a960eb87f.yml
3-
openapi_spec_hash: 8aa974cf7843681d6ae3e6dcf099596d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-477bd1ff6f7053f2bd4687d7c5fc9a6a1d56a584be42f927abc6fc858ff35718.yml
3+
openapi_spec_hash: 3bf4cc824f6497c4ad109abd3187eede
44
config_hash: 77ee715aa17061166f9a02b264a21b8d

src/resources/profiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class Profiles extends APIResource {
121121
return this._client.get(path`/profiles/${idOrName}/download`, {
122122
query,
123123
...options,
124-
headers: buildHeaders([{ Accept: 'application/zstd' }, options?.headers]),
124+
headers: buildHeaders([{ Accept: 'application/octet-stream' }, options?.headers]),
125125
__binaryResponse: true,
126126
});
127127
}

0 commit comments

Comments
 (0)