getheaders not exported in Genie.Requests #627
Unanswered
curioustolearn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need to get the host information in one of my routes. I can get it as
Genie.Requests.getheaders()
. However, sincegetheaders()
is not exported in theRequests
module, I am wondering if this is okay to do, or is it an internal thing that I should not rely on. If I want to get the header information, should I rely on HTTP.jl, or should it be exported in Genie.Requests.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions