...
|
...
|
@@ -45,7 +45,7 @@ func (serviceGateway *httplibBaseServiceGateway) createRequest(url string, metho |
|
|
case "head":
|
|
|
request = httplib.Head(url)
|
|
|
break
|
|
|
:
|
|
|
default:
|
|
|
request = httplib.Get(url)
|
|
|
}
|
|
|
return request.SetTimeout(serviceGateway.connectTimeout, serviceGateway.readWriteTimeout)
|
...
|
...
|
|