handling `octet-stream` responses
We have some endpoints that produce:
content-type: application/octet-stream responses.
Checkly isn't able to handle those and we get back a:
Binary response body was scrubbed by ChecklyWe are unable to to verify the body of the response.
These endpoints are from opensource software and we need it to verify the system is healthy. A 200 isnt enough of a health verification as the response body could say unhealthly.
Log in to comment and vote
Comments2
Hervé Labas
Jul 27
Hi,
We’ve just clarified how to deal with these situation in our docs:
https://www.checklyhq.com/docs/detect/synthetic-monitoring/api-checks/configuration/#asserting-on-binary-response-bodies
You can use the “Text body” assertion that will disable the scrubbing of the response and allow getting the response back, provided it fits the maximum size (25 Mb)
Tim Nolet
Oct 11, 2023
@Giancarlo can you tell me a bit more about the type of body you are expecting? Is it a PDF, image or something else?