Skip to content

Hyper 1.0. How to send string? #2322

Answered by davidpdrsn
ziimakc asked this question in Q&A
Discussion options

You must be logged in to vote

axum does not yet support hyper 1.0. I recommend you follow #1325 but otherwise stick with hyper 0.14 for now.

The specific issue most likely is that hyper 1.0 uses http 1.0 but axum expects http 0.2. So the StatusCode you're getting is the wrong version.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ziimakc
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