We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f11bb commit aed2461Copy full SHA for aed2461
packages/node/src/transports/base.ts
@@ -54,6 +54,7 @@ export abstract class BaseTransport implements Transport {
54
/** Returns a build request option object used by request */
55
protected getRequestOptions(): http.RequestOptions {
56
const headers = {
57
+ 'Content-Type': 'application/json',
58
'X-Sentry-Auth': this.getAuthHeader(),
59
...this.options.headers,
60
};
0 commit comments