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

Fix example code in README.md - use bytes instead of string #44

Merged
merged 1 commit into from
Feb 18, 2023

Conversation

xuanyou
Copy link
Contributor

@xuanyou xuanyou commented Dec 28, 2022

Examples in /examples all use bytes, but the example code in README.md uses str.

This changes the README.md example to use bytes as well.

This is also related to #40. Using bytes would give the caller more control over the headers, but I'm not sure if such control is ever needed by the caller.

Examples in /examples all use bytes,
but the example code in README.md uses str.

This changes the README.md example to use bytes as well.
@netom netom merged commit b705987 into netom:master Feb 18, 2023
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

Successfully merging this pull request may close these issues.

2 participants