diff --git a/src/core.ts b/src/core.ts index 9cd99639d..d2468a5ba 100644 --- a/src/core.ts +++ b/src/core.ts @@ -190,7 +190,7 @@ export abstract class APIClient { */ protected defaultHeaders(opts: FinalRequestOptions): Headers { return { - Accept: 'application/json', + Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', 'User-Agent': this.getUserAgent(), ...getPlatformHeaders(),