Open QuentinN42 opened 1 month ago
As the http.Response body is an interface, it may be nil.
http.Response
nil
https://github.com/elazarl/goproxy/blob/6741dbfc16a13e515d5f2b485eb4be24692e54de/proxy.go#L164-L167
Here we may want to add a if resp.Body != nil ...
if resp.Body != nil
As the
http.Response
body is an interface, it may benil
.https://github.com/elazarl/goproxy/blob/6741dbfc16a13e515d5f2b485eb4be24692e54de/proxy.go#L164-L167
Here we may want to add a
if resp.Body != nil
...