Skip to content
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

Add queryparams overload for HTTP.Request #1009

Closed
chris-b1 opened this issue Feb 7, 2023 · 0 comments · Fixed by #1012
Closed

Add queryparams overload for HTTP.Request #1009

chris-b1 opened this issue Feb 7, 2023 · 0 comments · Fixed by #1012

Comments

@chris-b1
Copy link
Contributor

chris-b1 commented Feb 7, 2023

I think this would be a reasonable api extension?

function handler(req::HTTP.Request)
    # rather than
    params = HTTP.queryparams(HTTP.URI(req.target))

    # allow 
    params = HTTP.queryparams(req)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants