Bug 62643

Summary: HTTP 206 response when enabling mod_deflate
Product: Apache httpd-2 Reporter: rene
Component: mod_deflateAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.33   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description rene 2018-08-21 07:27:56 UTC
In my setup, I use Apache 2.4.33 as TLS termination and reverse proxy for another http service. The service responds to all requests with HTTP 200 (verified using tcpdump) but with "Transfer-Encoding: chunked" (not sure if this is relevant).

If I enable the option "AddOutputFilterByType DEFLATE application/json" in apache, the forwarded response gets compressed but sometimes (not for every requests) changes to HTTP 206 (partial content). This does not happen if the option is not set.

The apache log does not show any errors.

The issue has already been posted to the mailing list but without any response:

This is the reverse proxy configuration:

<Location "/epg/">
  AddOutputFilterByType DEFLATE application/json
  ProxyPass http://localhost:5000/
  ProxyPassReverse http://localhost:5000/