Kristopher Wuollett
a87b569d01
Added check for length < 0 for transparent gzip response.
...
The documentation for org.apache.http.HttpEntity::getContentLength()
states that a negative number will be returned when the length of the
content is not known.
2013-07-12 00:06:21 -07:00
Kristopher Wuollett
8035fda72f
Added contentType/Encoding to HttpResponse's Entity.
...
Clients should expect that OkHttpClient HttpResponse Entity's contentType
and contentEncoding are not null when the headers are present.
2013-07-11 23:02:47 -07:00
jwilson
5f87fc19ab
Introduce a Policy interface between engine and connection.
...
This breaks the direct dependency from HttpEngine to
HttpURLConnectionImpl. With this dependency broken, we
can start to use HttpEngine directly from Dispatcher and
Job.
2013-07-09 01:57:50 -04:00
Jake Wharton
1d33ae5968
Merge pull request #232 from square/jw/apache-thangs
...
Request entity tests for the Apache client shim.
2013-07-04 00:34:20 -07:00
Jake Wharton
53e12cca33
Request entity tests for the Apache client shim.
2013-07-04 00:03:28 -07:00
jwilson
ad5ac4a57f
[maven-release-plugin] prepare for next development iteration
2013-06-23 20:01:05 -04:00
jwilson
d439855a9d
[maven-release-plugin] prepare release parent-1.1.1
2013-06-23 20:01:02 -04:00
jwilson
5516526004
[maven-release-plugin] prepare for next development iteration
2013-06-15 20:28:32 -04:00
jwilson
20f7eebbf5
[maven-release-plugin] prepare release parent-1.1.0
2013-06-15 20:28:28 -04:00
Jake Wharton
f163915346
Null-check request entity since it might not be present.
...
Closes #198 .
2013-05-27 14:53:16 -07:00
Jake Wharton
1482bc4032
[maven-release-plugin] prepare for next development iteration
2013-05-11 20:56:21 -07:00
Jake Wharton
34049c1c0f
[maven-release-plugin] prepare release parent-1.0.2
2013-05-11 20:56:12 -07:00
Jake Wharton
7f4d253579
Add some tests for the Apache wrapper.
2013-05-06 16:53:59 -07:00
Jake Wharton
d49ddf3414
[maven-release-plugin] prepare for next development iteration
2013-05-06 09:19:55 -07:00
Jake Wharton
66544feab6
[maven-release-plugin] prepare release parent-1.0.1
2013-05-06 09:19:41 -07:00
Jake Wharton
bd2cac58f3
[maven-release-plugin] prepare for next development iteration
2013-05-06 07:01:00 -07:00
Jake Wharton
d95ecff542
[maven-release-plugin] prepare release parent-1.0.0
2013-05-06 07:00:47 -07:00
Jake Wharton
19d3b1658b
Give the Apache module its own readme.
2013-05-03 23:50:12 -07:00
Jake Wharton
d60c084b99
Add Apache HttpClient implementation which maps to OkHttp.
...
Refs #17 .
2013-03-26 13:27:46 -04:00