Replies: 3 comments
-
Echo relies on Go standard library http.Server to request parsing and to know the raw request bytes you probably need some kind of low level net.Conn magic on the listener side. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it for debugging proposes or some "business" use-case? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's a business use case unfortunately. Thanks for the help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to get the raw headers (or the headers in the order they were sent - important) of the request. A
map
won't hold that unfortunately so I'm curious if it is possible with echo. Something similar withfiber
'sc.Request().Header.RawHeaders()
. Any ideas?Beta Was this translation helpful? Give feedback.
All reactions