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

WIP: fix #184 #181

Merged
merged 8 commits into from
May 3, 2020
Merged

WIP: fix #184 #181

merged 8 commits into from
May 3, 2020

Conversation

ansrivas
Copy link
Contributor

Hi @sagebind,
Tried to come up with something for the issue #180 .

Had to change the default_header signature from a self to mut self.
( In case I am going in completely wrong direction, please let me know. )

Signed-off-by: Ankur Srivastava <[email protected]>
@ansrivas ansrivas requested a review from sagebind as a code owner April 26, 2020 21:10
@codecov
Copy link

codecov bot commented Apr 26, 2020

Codecov Report

Merging #181 into master will decrease coverage by 0.82%.
The diff coverage is 41.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
- Coverage   48.49%   47.66%   -0.83%     
==========================================
  Files          20       20              
  Lines        1864     1909      +45     
  Branches      416      428      +12     
==========================================
+ Hits          904      910       +6     
- Misses        671      703      +32     
- Partials      289      296       +7     
Impacted Files Coverage Δ
src/config/mod.rs 47.26% <0.00%> (-1.39%) ⬇️
src/error.rs 7.01% <0.00%> (-0.68%) ⬇️
src/client.rs 56.61% <53.84%> (-1.39%) ⬇️
src/task.rs 71.42% <0.00%> (-8.58%) ⬇️
src/lib.rs 36.36% <0.00%> (-2.48%) ⬇️
src/agent.rs 45.37% <0.00%> (-0.93%) ⬇️
src/handler.rs 60.55% <0.00%> (-0.82%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fdccc6...5dfb246. Read the comment docs.

@sagebind
Copy link
Owner

Thanks for tackling this!

src/client.rs Outdated Show resolved Hide resolved
src/client.rs Outdated Show resolved Hide resolved
src/client.rs Show resolved Hide resolved
Signed-off-by: Ankur Srivastava <[email protected]>
Signed-off-by: Ankur Srivastava <[email protected]>
Signed-off-by: Ankur Srivastava <[email protected]>
Signed-off-by: Ankur Srivastava <[email protected]>
Signed-off-by: Ankur Srivastava <[email protected]>
src/error.rs Outdated Show resolved Hide resolved
- Keep the error as enum http::Error
- Commented out the failing tests until it gets fixed upstream in mockito

Signed-off-by: Ankur Srivastava <[email protected]>
Copy link
Owner

@sagebind sagebind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work @ansrivas, looks good to me. I'll get this out in a new release hopefully soon. Thanks for helping out!

@ansrivas
Copy link
Contributor Author

ansrivas commented May 3, 2020

Awesome work @ansrivas, looks good to me. I'll get this out in a new release hopefully soon. Thanks for helping out!

Thanks a lot to you as well for reviewing all the changes and the patience.

@sagebind sagebind merged commit 1471674 into sagebind:master May 3, 2020
@ansrivas ansrivas deleted the as/headers-in-httpbuilder branch May 3, 2020 17:05
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