How can I obtain all available http headers from a request as array in Go? I see only the following two methods:
- Header(name string, value string)
- GetHeader(name string)
But in this case I need to know the name of the Header and can't return all existing headers. I'd like to copy the http headers from one request to anther one.