Encode bytes in response from web server
sfertman opened this issue · 0 comments
sfertman commented
Easy to achieve: walk the return value of functions and encode any bytes with some encoding.
But, a bit unclear how this should be done because encoding is not a request-wide thing. Each string can be marked as encoded by ":b:<encoding>::..."
(#5). So, it's clear how to decode but unclear how the response should be encoded for readability. Perhaps hex
by default and any supported user specified encoding (header?) otherwise.