mirror of
https://github.com/square/okhttp.git
synced 2026-01-25 16:01:38 +03:00
Merge pull request #393 from square/jwilson_0102_delegate_everything
Fix a bug where HTTPS POSTS were always buffered.
This commit is contained in:
@@ -300,4 +300,16 @@ public final class HttpsURLConnectionImpl extends HttpsURLConnection {
|
||||
@Override public SSLSocketFactory getSSLSocketFactory() {
|
||||
return delegate.client.getSslSocketFactory();
|
||||
}
|
||||
|
||||
@Override public void setFixedLengthStreamingMode(long contentLength) {
|
||||
delegate.setFixedLengthStreamingMode(contentLength);
|
||||
}
|
||||
|
||||
@Override public long getContentLengthLong() {
|
||||
return delegate.getContentLengthLong();
|
||||
}
|
||||
|
||||
@Override public long getHeaderFieldLong(String field, long defaultValue) {
|
||||
return delegate.getHeaderFieldLong(field, defaultValue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user