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
If the response body consists of multiple chunks, response_filter() has to be called multiple times, probably followed up by a call with HttpTask::Done parameter. It is also necessary to make sure not to write out any empty chunks potentially produced by the compression (these indicate end of stream with chunked encoding).
What is the problem your feature solves, or the need it fulfills?
I make a custom response in
request_filter
like this:But the response body is not compressed. Does compression only take effect for response from upstream?
Describe the solution you'd like
I want downstream compression to take effect for all responses to downstream.
The text was updated successfully, but these errors were encountered: