@dynatrace-sdk/http-client 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/cjs/index.js +3 -1
- package/docs/DOCS.md +250 -800
- package/esm/index.js +3 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
package/cjs/index.js
CHANGED
|
@@ -329,7 +329,9 @@ function throwResponseBodyTypeError(response, responseBodyType, cause) {
|
|
|
329
329
|
throw new DataTypeError(
|
|
330
330
|
`Response body does not conform to the specified response body type: '${responseBodyType}'. The content type of the response is '${response.headers.get(
|
|
331
331
|
"Content-Type"
|
|
332
|
-
)}'
|
|
332
|
+
)}'. Response status is '${response.status}'. Response source is '${response.headers.get(
|
|
333
|
+
"dynatrace-response-source"
|
|
334
|
+
)}'`,
|
|
333
335
|
cause
|
|
334
336
|
);
|
|
335
337
|
}
|