Skip to content

Response: add take_body() as a way to get the body from a Response#499

Merged
yoshuawuyts merged 1 commit intohttp-rs:masterfrom
Fishrock123:response-take-body
May 13, 2020
Merged

Response: add take_body() as a way to get the body from a Response#499
yoshuawuyts merged 1 commit intohttp-rs:masterfrom
Fishrock123:response-take-body

Conversation

@Fishrock123
Copy link
Copy Markdown
Member

This is useful for middleware that may want to post-process body data, such as a compression middleware.

This is useful for middleware that may want to post-process body data, such as a compression middleware.
@Fishrock123 Fishrock123 force-pushed the response-take-body branch from c880389 to 3953af3 Compare May 13, 2020 22:26
@yoshuawuyts yoshuawuyts merged commit 15272f9 into http-rs:master May 13, 2020
@Fishrock123 Fishrock123 deleted the response-take-body branch May 14, 2020 00:00
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