Home | History | Annotate | only in /external/okhttp
Up to higher level directory
NameDateSize
android/13-Nov-2012
Android.mk13-Nov-20121.2K
checkstyle.xml13-Nov-20124.6K
jarjar-rules.txt13-Nov-201236
LICENSE.txt13-Nov-201211.1K
MODULE_LICENSE_APACHE213-Nov-20120
pom.xml13-Nov-20127.2K
README.android13-Nov-2012241
README.md13-Nov-20122.5K
src/13-Nov-2012

README.android

      1 URL: https://github.com/square/okhttp
      2 License: Apache 2
      3 Description: "OkHttp: An HTTP+SPDY client for Android and Java applications."
      4 
      5 Local patches
      6 -------------
      7 Changes to libcore/util/Libcore.java to remove OpenJDK / Jetty dependencies.
      8 
      9 

README.md

      1 OkHttp
      2 ======
      3 
      4 An HTTP+SPDY client for Android and Java applications.
      5 
      6 
      7 Download
      8 --------
      9 
     10 Downloadable .jars can be found on the [GitHub download page][1].
     11 
     12 You can also depend on the .jar through Maven:
     13 
     14 ```xml
     15 <dependency>
     16     <groupId>com.squareup</groupId>
     17     <artifactId>okhttp</artifactId>
     18     <version>(insert latest version)</version>
     19 </dependency>
     20 ```
     21 
     22 
     23 Known Issues
     24 ------------
     25 
     26 The SPDY implementation is incomplete:
     27 
     28 * Settings frames are not honored. Flow control is not implemented.
     29 * It assumes a well-behaved peer. If the peer sends an invalid frame, OkHttp's SPDY client will not respond with the required `RST` frame.
     30 
     31 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.
     32 
     33 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.
     34 
     35 
     36 Contributing
     37 ------------
     38 
     39 If you would like to contribute code to OkHttp you can do so through GitHub by
     40 forking the repository and sending a pull request.
     41 
     42 When submitting code, please make every effort to follow existing conventions
     43 and style in order to keep the code as readable as possible. Please also make
     44 sure your code compiles by running `mvn clean verify`. Checkstyle failures
     45 during compilation indicate errors in your style and can be viewed in the
     46 `checkstyle-result.xml` file.
     47 
     48 Before your code can be accepted into the project you must also sign the
     49 [Individual Contributor License Agreement (CLA)][3].
     50 
     51 
     52 License
     53 -------
     54 
     55     Licensed under the Apache License, Version 2.0 (the "License");
     56     you may not use this file except in compliance with the License.
     57     You may obtain a copy of the License at
     58 
     59        http://www.apache.org/licenses/LICENSE-2.0
     60 
     61     Unless required by applicable law or agreed to in writing, software
     62     distributed under the License is distributed on an "AS IS" BASIS,
     63     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     64     See the License for the specific language governing permissions and
     65     limitations under the License.
     66 
     67 
     68 
     69  [1]: http://github.com/square/okhttp/downloads
     70  [2]: http://developer.android.com/reference/java/net/ProxySelector.html
     71  [3]: https://spreadsheets.google.com/spreadsheet/viewform?formkey=dDViT2xzUHAwRkI3X3k5Z0lQM091OGc6MQ&ndplr=1
     72