Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/gockPublic
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Do not reset response body#40

Merged
h2non merged 3 commits intoh2non:masterfromiliacimpoes:DoNotResetResponseBody
Oct 29, 2018

Conversation

iliacimpoes
Copy link
Contributor

@iliacimpoesiliacimpoes commentedOct 29, 2018
edited
Loading

Mocked response body does not match the real http.Response.Body behavior.
Response body should not be reset when it is read till EOF.

If you accidentally read response body twice tests using mocked response won't fail, but they should.

@h2nonh2non merged commit65dac6c intoh2non:masterOct 29, 2018
@h2non
Copy link
Owner

LGTM. Thanks!

@iliacimpoes
Copy link
ContributorAuthor

@h2non thanks for the quick review

@iliacimpoesiliacimpoes deleted the DoNotResetResponseBody branchOctober 30, 2018 08:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@iliacimpoes@h2non

[8]ページ先頭

©2009-2025 Movatter.jp