Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode bytes in response from web server #6

Open
sfertman opened this issue Jun 2, 2019 · 0 comments
Open

Encode bytes in response from web server #6

sfertman opened this issue Jun 2, 2019 · 0 comments

Comments

@sfertman
Copy link
Owner

sfertman commented Jun 2, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant