Closed dimiro1 closed 6 years ago
What if I need access to the response headers? Right now the Response [1] struct has no way to get them.
[1] https://github.com/gojektech/heimdall/blob/master/response.go#L4
Since the method returns a custom heimdall.Response, headers are lost (we can't access). ideally we could change it to *http.Response if there's no other need for it.
heimdall.Response
This is fixed in #10 . Thanks to @sohamkamani
What if I need access to the response headers? Right now the Response [1] struct has no way to get them.
[1] https://github.com/gojektech/heimdall/blob/master/response.go#L4