chai-http icon indicating copy to clipboard operation
chai-http copied to clipboard

How to check the contents of a binary response payload?

Open Craigfis opened this issue 4 years ago • 0 comments

If I'm getting JSON or text back from a request I can look at the .body or .text property. But I can't see any way of inspecting the value of a binary payload response. I'd like to at least verify that it is of the expected length.

Craigfis avatar Jul 30 '20 01:07 Craigfis