mkopylec / charon-spring-boot-starter

Reverse proxy implementation in form of a Spring Boot starter.
Apache License 2.0
248 stars 55 forks source link

HttpRequestMapper sets an empty byte array body in case of GET requests #133

Closed aricang closed 8 months ago

aricang commented 2 years ago

extractBody method of HttpRequestMapper is setting an empty body for GET requests which leads to wrong MessageConverter(ByteArrayHttpMessageConverter) selection in Rest Template. This message converter adds "content-type:application/octet-stream" to every delegated get request, although get requests do not have any message body.

mkopylec commented 8 months ago

Resolved in 5.2.0

goarican commented 7 months ago

thank you very much for the fix