Skip to content
Discussion options

You must be logged in to vote

Again, you're asking questions about security of a system, not how to do something in axum.

When I disregard the use-case and focus just in getting the header values, you can also implement the Header trait for the custom header you're interested in and use two TypedHeaders. But what you wrote works for getting a non-standard header too.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sihayas
Comment options

@mladedav
Comment options

Answer selected by sihayas
@sihayas
Comment options

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