This commit is contained in:
Looly
2021-01-04 18:08:16 +08:00
parent f3238ae1e7
commit d8b1c24305
2 changed files with 3 additions and 3 deletions

View File

@@ -1064,10 +1064,10 @@ public class HttpRequest extends HttpBase<HttpRequest> {
this.httpConnection = HttpConnection
.create(this.url.toURL(this.urlHandler), this.proxy)//
.setMethod(this.method)//
.setHttpsInfo(this.hostnameVerifier, this.ssf)//
.setConnectTimeout(this.connectionTimeout)//
.setReadTimeout(this.readTimeout)//
.setMethod(this.method)//
.setHttpsInfo(this.hostnameVerifier, this.ssf)//
// 定义转发
.setInstanceFollowRedirects(this.maxRedirectCount > 0)
// 流方式上传数据