-
Notifications
You must be signed in to change notification settings - Fork 159
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 body reader of http backend #407
Conversation
509c76e
to
971e485
Compare
Codecov Report
@@ Coverage Diff @@
## v0.8 #407 +/- ##
==========================================
+ Coverage 70.71% 70.72% +0.01%
==========================================
Files 286 286
Lines 6446 6442 -4
==========================================
- Hits 4558 4556 -2
+ Misses 1517 1516 -1
+ Partials 371 370 -1
|
971e485
to
991c9ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f8c4811
to
7c4cc33
Compare
7c4cc33
to
13408b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @eliecharra @moadibfr ping on this one.
5eee94e
to
b57fa54
Compare
b57fa54
to
f23d600
Compare
Description
As discussed in #406 , we should mock the http.Client instead of running real HTTP calls on the network.
This change also fixes an issue we recently discovered: the response body is always empty because a buffer was reading the body content already.