mirror of
https://github.com/gospider007/requests.git
synced 2025-12-24 13:57:52 +08:00
sync
This commit is contained in:
@@ -321,11 +321,11 @@ func (obj *Response) IsNewConn() bool {
|
||||
}
|
||||
|
||||
// conn proxy
|
||||
func (obj *Response) Proxy() string {
|
||||
func (obj *Response) Proxy() *url.URL {
|
||||
if obj.rawConn != nil {
|
||||
return obj.rawConn.Proxy()
|
||||
}
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
|
||||
// conn is in pool ?
|
||||
|
||||
Reference in New Issue
Block a user