can i set a header in custom extractor ( FromRequestParts ) ? #2423
-
Summarycan i set a header in custom extractor ( FromRequestParts ) ? axum version0.7 |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Dec 12, 2023
Replies: 1 comment
-
Yes. You can insert headers via |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davidpdrsn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. You can insert headers via
request_parts.headers.insert(key, value)
.