liuxiran commented on a change in pull request #1779: URL: https://github.com/apache/apisix-dashboard/pull/1779#discussion_r615286479
########## File path: api/internal/handler/route_online_debug/route_online_debug.go ########## @@ -134,7 +132,20 @@ func (h *HTTPProtocolSupport) RequestForwarding(c droplet.Context) (interface{}, defer resp.Body.Close() - _body, err := ioutil.ReadAll(resp.Body) + // handle gzip content encoding + var reader io.ReadCloser + switch resp.Header.Get("Content-Encoding") { Review comment: I have a question about this gzip header option: when I try to request `http://httpbin.org/gzip` I got the result like this:  but I could not found `Accept-Encoding` in the response header tab content:  why this header option missed? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org