You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the comment from the previous issue - #466
I tried to pass the acceptCompressed flag in the ReactiveOptions for the reactive feign client and it doesn't include the Accept-Encoding:gzip header automatically with the request.
Then I tried to add a client connector to compress the request according to this link, but this is not passing the Accept-Encoding:gzip header while making API request.
When I enable it, I can see the Accept-Encoding headers are passing while invoking another API, however, the response headers don't contain the Content-Encoding: gzip headers, even though the server is working as expected when we test with Postman as I can see the headers are coming correctly in the response.
Could you please advise if we are missing something to enable compression on the client side for reactive? I have attached the API request/response headers trace for your reference.
Hey @kptfh
Based on the comment from the previous issue - #466
I tried to pass the
acceptCompressed
flag in the ReactiveOptions for the reactive feign client and it doesn't include theAccept-Encoding:gzip
header automatically with the request.Then I tried to add a client connector to compress the request according to this link, but this is not passing the
Accept-Encoding:gzip
header while making API request.Finally, I added the
Accept-Encoding
header in the FeignApi client method to see if it can accept the compressed response from the server like belowWhen I enable it, I can see the Accept-Encoding headers are passing while invoking another API, however, the response headers don't contain the
Content-Encoding: gzip
headers, even though the server is working as expected when we test with Postman as I can see the headers are coming correctly in the response.Could you please advise if we are missing something to enable compression on the client side for reactive? I have attached the API request/response headers trace for your reference.
The text was updated successfully, but these errors were encountered: