Skip to content

Add Collected::take_trailers - #114

Open
swlynch99 wants to merge 1 commit into
hyperium:masterfrom
swlynch99:collected-take-trailers
Open

Add Collected::take_trailers#114
swlynch99 wants to merge 1 commit into
hyperium:masterfrom
swlynch99:collected-take-trailers

Conversation

@swlynch99

Copy link
Copy Markdown

If you want to inspect the body of a Collected then there is currently no way to also keep the trailers around without cloning them. This PR adds a method that lets you directly take the trailers out of the Collected.

@swlynch99
swlynch99 force-pushed the collected-take-trailers branch from 2533f8f to cd52d9d Compare March 14, 2024 23:16
@cratelyn

cratelyn commented Apr 2, 2025

Copy link
Copy Markdown
Member

i have wished for this method myself, i'd support this addition. +1

@cratelyn

cratelyn commented Sep 2, 2026

Copy link
Copy Markdown
Member

@swlynch99 pardon the delay. i would like to merge this. to help CI run, would you mind rebasing this on top of the latest master?

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