Adrian Cole
3378eee852
Recognizes reason phrase is nullable and not set when using http/2
...
See https://github.com/http2/http2-spec/issues/202
Fixes #382
9 years ago
Javier Campanini
d25095c50c
bump okhttp dependencies to 2.7.5
9 years ago
Adrian Cole
b29f9d8aea
Documents intent of client tests
9 years ago
Dave Syer
5244db4300
Apache HTTP client hates to have the Content-Length set
...
It always sets the header itself and if we set it as well it barfs
so it is better just to avoid setting it at all.
9 years ago
Paul Nepywoda
e17aaed40d
support PUT with empty body parameter
...
follow-up commit to https://github.com/Netflix/feign/pull/271
9 years ago
Adrian Cole
7c0ddbf9e0
Updates to okhttp 2.7.1
9 years ago
Adrian Cole
4f86d15dd8
Bumps dependency versions, most notably Gson 2.5 and OkHttp 2.7
9 years ago
Carter Kozak
ef017519c3
Allow responses to be streamed.
...
Never expands >8kb responses into memory
9 years ago
Andriy Sukhyy
93cd0b716e
Added support for spaces in path
9 years ago
Paul Nepywoda
0904133d22
Supports POST without a body parameter
...
```java
@RequestLine("POST")
String noPostBody();
```
see
http://johnfeng.github.io/blog/2015/06/30/okhttp-updates-post-wouldnt-be-allowed-to-have-null-body/
9 years ago
Adrian Cole
149ccbdb87
Skips error handling when return type is Response
...
In unsuccessful scenarios, such as redirects, error handling converts a
`Response` into an exception. When a user defines a return type as
`Response`, we can assume they will want access to things like headers
even in an error scenario.
See #249
9 years ago
Adrian Cole
0652714b2c
Bumps dependency versions for integrations
...
* OkHttp/MockWebServer 2.5.0
* Jackson 2.6.1
* Apache Http Client 4.5
* JMH 1.10.5
9 years ago
Adrian Cole
511e8843fb
Fixes NPE when apache client rebuffers content
...
When log level is full, the response body is rebuffered. The Apache
client had a bug where it allowed `toInputStream` to return null. This
fixes that bug and backfills tests for the other two clients.
Fixes #255
9 years ago
Adrian Cole
eb351f843d
Bumps dependency versions for integrations
...
* OkHttp/MockWebServer 2.4.0
* Gson 2.3.1
* Jackson 2.6.0
* Ribbon 2.1.0
* SLF4J 1.7.12
9 years ago
Tristan Burch
1705c15046
Support for Apache HttpClient as Feign client
10 years ago