You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement an OAuth 2.0 compliant authorization server, and for one of the endpoints you should return a 308 permanent redirect to an URL with the same query that was sent in (maybe changing the values of a few of them).
Is there an "additional parameters" option for a Query or a way to get those additional parameters? Is there a way to make Query reject queries that have repeated keys? Is there a way to turn the query into a String?
I'm assuming not, and that I'd need to make a new query struct myself. Would this be possible at all? What traits would I need to implement for it to be usable in place of poem_api::param::Query (or poem::web::Query)?
The text was updated successfully, but these errors were encountered:
I have figured out a lot. I'm pretty sure those options don't exist, and I'd just need to write a parser myself and implement a method to turn it into a string.
I'm trying to implement an OAuth 2.0 compliant authorization server, and for one of the endpoints you should return a 308 permanent redirect to an URL with the same query that was sent in (maybe changing the values of a few of them).
Is there an "additional parameters" option for a
Query
or a way to get those additional parameters? Is there a way to makeQuery
reject queries that have repeated keys? Is there a way to turn the query into aString
?I'm assuming not, and that I'd need to make a new query struct myself. Would this be possible at all? What traits would I need to implement for it to be usable in place of
poem_api::param::Query
(orpoem::web::Query
)?The text was updated successfully, but these errors were encountered: