commit | 083b407508308128f49a9923b84b8615b5d9e957 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Tue Oct 20 20:56:07 2015 +0100 |
committer | Neil Fuller <nfuller@google.com> | Fri Oct 23 16:51:14 2015 +0100 |
tree | d7671c30869f36cfdd9ee85a7d10e47d56615351 | |
parent | 140534546b7082fc034c5d0f642557ec12e9ff1a [diff] |
Fix Http(s)URLConnectionImpl.getInstanceFollowsRedirects() This is the proposed upstream PR: https://github.com/square/okhttp/pull/1939 Bug: 25138800 Bug: https://code.google.com/p/android/issues/detail?id=190998 (cherry-picked from commit ceafaf318f1176d96d18ed04355f76fa91a8e12b) Change-Id: I8101d6d7b89cb931a76d79caa5fbc36470c80024
An HTTP & SPDY client for Android and Java applications. For more information see the website and the wiki.
Download the latest JAR or grab via Maven:
<dependency> <groupId>com.squareup.okhttp</groupId> <artifactId>okhttp</artifactId> <version>2.3.0</version> </dependency>
or Gradle:
compile 'com.squareup.okhttp:okhttp:2.3.0'
Snapshots of the development version are available in Sonatype's snapshots
repository.
A library for testing HTTP, HTTPS, HTTP/2.0, and SPDY clients.
MockWebServer coupling with OkHttp is essential for proper testing of SPDY and HTTP/2.0 so that code can be shared.
Download the latest JAR or grab via Maven:
<dependency> <groupId>com.squareup.okhttp</groupId> <artifactId>mockwebserver</artifactId> <version>2.3.0</version> <scope>test</scope> </dependency>
or Gradle:
testCompile 'com.squareup.okhttp:mockwebserver:2.3.0'
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.