Closed tangchen-blip closed 4 years ago
Getting the same issue while doing an POST Request!
@FeignClient(name = "redis-service") public interface RedisProxy { @PostMapping(value = "redis/storeAuthSession", consumes = MediaType.APPLICATION_JSON_VALUE) void storeAuthSessionData(@RequestBody AuthSessionData authSessionData); }
`
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
`
<spring-cloud.version>Hoxton.RELEASE</spring-cloud.version>
remove the header param content-length can resolve it
yes..resolved thanks!!
Closing as issue resolved.
headers.remove("content-length"); outputMessage = xyzClient.save(headers, message);
removing content-length resolved the issue
Closing as issue resolved.
Resolved? This issue caused by feign code...
it
remove the header param content-length can resolve it
it work
remove the header param content-length can resolve it
how to remove the header param, I don't understand it, can you explain it in detail?
An error occurred when I overwrote the headers using RequestInterceptor.
RequestInterceptor.java
Exception