goproxy
goproxy copied to clipboard
An HTTP proxy library for Go
Does this lib support HTTP CONNECT chaining? If so, any example would be very useful. Thanks!
As the `http.Response` body is an interface, it may be `nil`. https://github.com/elazarl/goproxy/blob/6741dbfc16a13e515d5f2b485eb4be24692e54de/proxy.go#L164-L167 Here we may want to add a `if resp.Body != nil` ...
I'm trying to figure out how call a function on a given ProxyHttpServer that will return something stored in UserData of the ProxyCtx and I'm having a hard time trying...