Closed postmodern closed 3 months ago
We could either:
A. Base64 encode all response bodies. Downside would be that you could not easily grep plain-text response bodies. B. Only Base64 encode response bodies which are ended as binary Strings. We would need to add some kind of indicator that the response body was Base64 encoded.
{"binary":true,"body":"..."}
{"body":{"encoding":"ASCII-8BIT","value":"..."}}
{"body":{"encoding":"base64","value":"..."}}
Trying to output a
favicon.ico
URL to JSON causes a UTF-8 encoding issue.