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

util: add BodyExt::with_trailers #99

Merged
merged 5 commits into from
Nov 20, 2023
Merged

util: add BodyExt::with_trailers #99

merged 5 commits into from
Nov 20, 2023

Conversation

davidpdrsn
Copy link
Member

Adds BodyExt::with_trailers so you can attach trailers to a body with a future that resolves to HeaderMap. I need this when porting tower-http to http-body 1.0 so figured it would make sense to upstream.

@davidpdrsn davidpdrsn changed the title Add BodyExt::with_trailers util: add BodyExt::with_trailers Nov 19, 2023
@davidpdrsn davidpdrsn requested a review from tesaguri November 20, 2023 14:14
@davidpdrsn davidpdrsn merged commit e5b462a into master Nov 20, 2023
4 checks passed
@davidpdrsn davidpdrsn deleted the with-trailers branch November 20, 2023 17:20
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.

3 participants