Skip to content

Fix for issue #72 #73

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
Apr 2, 2012
Merged

Fix for issue #72 #73

merged 1 commit into from
Apr 2, 2012

Conversation

sterwill
Copy link
Contributor

This fixes ApacheResponse.getResponseBodyAsStream() to return all the bytes in the body.

I'm not sure if I put the new class in the right package, or if the name was optimal (ByteArrayCollectionInputStream). Please re-arrange as you desire.

…s in the body

ApacheResponse.getResponseBodyAsStream() was returning an InputStream
that only provided bytes from the first body part.

Pulled JDKResponse's ByteArrayCollectionInputStream into its own class,
HttpResponseBodyPartsInputStream, so it could be shared with
ApacheResponse.
jfarcand added a commit that referenced this pull request Apr 2, 2012
@jfarcand jfarcand merged commit 392dd48 into AsyncHttpClient:master Apr 2, 2012
@jfarcand
Copy link
Contributor

jfarcand commented Apr 2, 2012

Agree. Thanks!

cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
motivaiton: unified format

changes:
* fix outstanding formatting issues
* add a call to swiftformat as part of sanity script
* fix sanity script language check debugging statements
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