Bug 62643 - HTTP 206 response when enabling mod_deflate
Summary: HTTP 206 response when enabling mod_deflate
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_deflate (show other bugs)
Version: 2.4.33
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2018-08-21 07:27 UTC by rene
Modified: 2018-08-21 07:27 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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/