Skip to content

Fixed RiakHttpTransport with non-ascii streams #249

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

Merged
merged 1 commit into from
May 30, 2013

Conversation

wkral
Copy link
Contributor

@wkral wkral commented May 30, 2013

  • Encoded data that has octets outside the 128 byte range fail in
    python's httplib
  • Using a bytearray for the message body causes the entire stream to be
    converted to a bytearray when a str object is added to it and the
    message is transported correctly
  • Added two tests one with unicode data in a json object and one unicode
    data in a string

- Encoded data that has octets outside the 128 byte range fail in
  python's httplib
- Using a bytearray for the message body causes the entire stream to be
  converted to a bytearray when a str object is added to it and the
  message is transported correctly
- Added two tests one with unicode data in a json object and one unicode
  data in a string
@seancribbs
Copy link

Good stuff, thanks!

seancribbs pushed a commit that referenced this pull request May 30, 2013
Fixed RiakHttpTransport with non-ascii streams
@seancribbs seancribbs merged commit 9c7c822 into basho:master May 30, 2013
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