spring-framework/spring-web/src/test
Brian Clozel 4ff17676d3 Avoid duplicate Content-Length headers in Netty client
This commit checks that a "Content-Length" request header isn't already
present before adding one in `Netty4ClientHttpRequestFactory`.
`HttpMessageConverter` implementations can write that request header so
the Netty request factory should only write that value when the header
is missing.

If that header is not written (and since we're not dealing with
the HTTP exchange in a chunked-based fashion), the HTTP client might not
send the request body at all.

Issue: SPR-15241
2017-02-13 21:07:35 +01:00
..
java/org/springframework Avoid duplicate Content-Length headers in Netty client 2017-02-13 21:07:35 +01:00
kotlin/org/springframework/web/method/annotation Polish Kotlin nullable support 2016-11-24 18:28:50 +01:00
proto Add Google Protobuf support with a MessageConverter 2014-07-22 16:56:59 -04:00
resources Move Body[Inserter|Extractor] to web.reactive.function 2016-12-15 13:22:11 +01:00