mkopylec / charon-spring-boot-starter

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

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

Closed aricang closed 3 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 3 months ago

Resolved in 5.2.0

goarican commented 3 months ago

thank you very much for the fix