How to get the trailer from Response? #2626
Answered
by
seanmonstar
HaoYang670
asked this question in
Q&A
-
|
Hi, I am using reqwest on client side to test a http server. The server will put some headers in the trailers. I don't find there is a way to get the trailers from |
Beta Was this translation helpful? Give feedback.
Answered by
seanmonstar
Apr 1, 2025
Replies: 1 comment 3 replies
-
|
Ah you're right. The underlying http library, hyper, does support getting trailers from a body, but reqwest just doesn't include a method to access them. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
HaoYang670
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah you're right. The underlying http library, hyper, does support getting trailers from a body, but reqwest just doesn't include a method to access them.