Skip to content

Regression (change?) from 0.6: POST with status code doesn't compile #2662

Answered by jplatte
moh-eulith asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, could it be that you're trying to return an http 0.2.x status code? Try importing from axum::http, or upgrading the crate if so.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@moh-eulith
Comment options

Answer selected by moh-eulith
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
Converted from issue

This discussion was converted from issue #2661 on March 19, 2024 19:18.