-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[axum-extra] Cookie Name Prefixes #3246
Comments
I'd be happy to tackle this one. It’ll be my first pull request for this repository, so I might appreciate some guidance along the way. |
I guess it can be used directly by extracting I don't think we can have an extractor for Try to look inside the |
@mladedav So what you've suggested is not possible for users, unless I'm missing something really obvious. |
Sorry, I didn't realize these are two distinct types. Then we can expose the wrapped prefix jars from the wrapper too in a similar manner to what the upstream crate does. Or do you think having an extractor that already resolves to a prefix jar would be better? |
In my use case, I actually need to omit the So I think the method should be exposed, even if |
Feature Request
Motivation
Cookie Name Prefixes is defined in the draft RFC6265bis (HTTP WG draft).
It is supported by all modern browsers: https://caniuse.com/mdn-http_headers_set-cookie_cookie_prefixes
Proposal
cookie
has https://docs.rs/cookie/latest/cookie/prefix/struct.PrefixedJar.html - can it be used somehow?Alternatives
Manually doing all this is error prone...
The text was updated successfully, but these errors were encountered: