kirinlabs/HttpRequest

To fix proxy&tls set model bug

lyx744 opened this issue · 1 comments

bug in method getTransport(request.go)
you should change this method:
if r.transport == nil && r.tlsClientConfig == nil && r.proxy == nil{
return http.DefaultTransport
}

r.transport = new(http.Transport)
    ...

+1 Thanks