Jesse Wilson
baba1c090d
Make the content type optional.
...
https://github.com/square/okhttp/issues/899
2014-06-08 11:29:41 -04:00
Jake Wharton
32c75ea09f
Merge pull request #874 from square/jw/response-source-header
...
Expose backwards-compatible response source header.
2014-05-29 22:01:21 -07:00
Jake Wharton
e31b737763
Expose backwards-compatible response source header.
2014-05-29 21:58:21 -07:00
Jake Wharton
8f6a21e864
Restore Java 7-specific override annotation.
...
We require Java 7 to build now and this doesn't affect Java 6 at runtime.
2014-05-29 13:52:36 -07:00
Jesse Wilson
e870d2645a
Build Javadoc for OkUrlFactory and OkApacheClient.
...
Also create a permanent URL for 1.x Javadoc.
2014-05-24 17:35:20 -04:00
Jesse Wilson
cc92c4cecc
[maven-release-plugin] prepare for next development iteration
2014-05-24 02:03:47 -04:00
Jesse Wilson
8dcc74d339
[maven-release-plugin] prepare release parent-2.0.0-RC1
2014-05-24 02:03:37 -04:00
Adrian Cole
5648a6868d
In HttpURLConnection, pay attention when fixedContentLength is set to zero.
2014-05-22 08:48:40 -07:00
Jesse Wilson
ed70981925
Strip auth headers when redirected to another host.
...
These are potentially private and we don't want to leak them to another
host, regardless of whether they're created by the calling application or
by the Authenticator.
2014-05-19 23:18:07 -04:00
Jesse Wilson
22a03b59fa
Drop ResponseSource.
2014-05-19 11:01:22 -04:00
Jesse Wilson
0676d8b173
Move code to the urlconnection module.
...
We don't need this code for the core OkHttp API.
2014-05-17 21:00:46 -04:00
Jesse Wilson
271cc7b632
First steps at making URLConnection a shim.
...
This extracts the URLConnection APIs to their own project. I still need to
go back and clean up some names in tests, add documentation, and move the
actual HttpURLConnection implementation details into this module.
2014-05-17 18:40:01 -04:00