Skip to content

Commit

Permalink
Link to the new OkHttp website.
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed May 7, 2013
1 parent f4d414a commit fcf3264
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
OkHttp
======

An HTTP+SPDY client for Android and Java applications.
An HTTP & SPDY client for Android and Java applications.

For more information please see [the website][1].



Download
--------

Download [the latest JAR][1] or grab via Maven:
Download [the latest JAR][2] or grab via Maven:

```xml
<dependency>
Expand All @@ -18,18 +21,6 @@ Download [the latest JAR][1] or grab via Maven:
```


Known Issues
------------

OkHttp uses the platform's [ProxySelector][2]. Prior to Android 4.0, `ProxySelector` didn't honor
the `proxyHost` and `proxyPort` system properties for HTTPS connections. Work around this by
specifying the `https.proxyHost` and `https.proxyPort` system properties when using a proxy with
HTTPS.

OkHttp's test suite creates an in-process HTTPS server. Prior to Android 2.3, SSL server sockets
were broken, and so HTTPS tests will time out when run on such devices.


Building
--------

Expand All @@ -44,6 +35,9 @@ mvn clean test

### On a Device

OkHttp's test suite creates an in-process HTTPS server. Prior to Android 2.3, SSL server sockets
were broken, and so HTTPS tests will time out when run on such devices.

Test on a USB-attached Android using [Vogar][4]. Unfortunately `dx` requires that you build with
Java 6, otherwise the test class will be silently omitted from the `.dex` file.

Expand Down Expand Up @@ -76,7 +70,7 @@ License



[1]: http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.squareup.okhttp&a=okhttp&v=LATEST
[2]: http://developer.android.com/reference/java/net/ProxySelector.html
[1]: http://square.github.io/okhttp
[2]: http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=com.squareup.okhttp&a=okhttp&v=LATEST
[3]: http://wiki.eclipse.org/Jetty/Feature/NPN
[4]: https://code.google.com/p/vogar/

0 comments on commit fcf3264

Please sign in to comment.