Skip to content

hyper_util::client::legacy::Client request method with Request<Full<Bytes>> #3555

Closed Answered by seanmonstar
Vagelis-Prokopiou asked this question in Q&A
Discussion options

You must be logged in to vote

It's hard to know from just that message. It looks like whatever is being used at L353 expects a different body type than what auth_request is.

Is auth_request coming from a hyper server? Is it Request<Incoming>? If so, you'd need to make the body types the same somehow. Either by collecting the whole body into a single full buffer, or changing your client body type to a dynamic one, like BoxBody.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Vagelis-Prokopiou
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants