1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-25 16:01:38 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
jwilson
c05cb7e93c Update steps to run tests on-device. 2014-01-12 11:13:21 -05:00
Jake Wharton
a4f22a2168 Use 'jar-with-dependencies' version for jar download links. 2013-10-26 13:00:22 -07:00
Everett Toews
c74050b71c Added description and download info for MockWebServer. 2013-10-11 10:36:05 -04:00
jwilson
fcf3264d4d Link to the new OkHttp website. 2013-05-07 01:13:17 -04:00
Jake Wharton
8c3811dc20 Updates to readme. 2013-05-03 23:33:55 -07:00
jwilson
194290e5f3 Improve SPDY+HTTP integration.
Writing tests shook out a few bugs:
 - Pooling wasn't working well. We were trying to connect
   after already having been connected.
 - We weren't writing response bodies to the cache.
 - We weren't capturing the request time for the cache.
 - MockSpdyServer wasn't trimming headers.

New files in this change aren't new, they're just inner classes promoted
to top-level classes for better sharing.
2013-01-22 16:14:52 -05:00
jwilson
3a0874cb22 Introduce MockSpdyServer.
This is like MockWebServer, but it speaks SPDY behind the scenes
instead of HTTP. The goal with this change is to make it very easy
to test interactions between SPDY and HTTP features like cookies,
fault tolerance and caching.
2013-01-22 13:38:38 -05:00
jwilson
c9d183636d Bump the version number for backwards-incompatible changes. 2012-12-17 19:30:00 -05:00
Jesse Wilson
9a1da9b420 New API to break platform-specific dependencies.
In particular:
 - Don't require OkHttp to depend on Jetty's non-boot package for
   Android. This was causing ugly, confidence-smashing dalvik
   errors in Android apps.
 - Don't prevent HTTP on Java6 just because SPDY isn't available.

This uses gross reflection and dynamic proxies! That's sad, but
it's encapsulated so users won't have to know it exists.
2012-11-13 23:12:12 -05:00
Jake Wharton
df778b7b80 Switch to CONTRIBUTING file. 2012-10-05 22:43:59 -07:00
Jesse Wilson
df2e128cc9 Fill out known issues in the OkHttp README.
This keeps me honest about how my SPDY work is left
to implement.
2012-08-02 16:40:09 -04:00
Jake Wharton
08b1d7f320 General project clean-up and tweaks.
* Add checkstyle and correct anything that failed.
 * Expand README.md to have more info for the upcoming release.
 * Resolve plugin warnings in pom.xml.
2012-07-28 00:08:05 -07:00
swankjesse
063964211c Initial commit 2012-07-23 06:42:55 -07:00