https://bz.apache.org/bugzilla/show_bug.cgi?id=66282

            Bug ID: 66282
           Summary: mod_proxy_https adds "Content-Encoding: chunked" to
                    requests that have no body
           Product: Apache httpd-2
           Version: 2.4.53
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_http2
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When I send a normal GET request, without body, no Transfer-Encoding and no
Content-Length, to httpd and proxy it via mod_proxy_http2 to the same server,
the proxied request gets "Transfer-Encoding: chunked" added by mod_proxy_http2. 

I think this is problematic, because

- it seems to me, that "Transfer-Encoding: chunked" is not allowed for http/2
(due to its always streaming behavior), and at least it is unexpected for a GET
or HEAD request

- the Core Rule Set 3 of mod_security contains a rule that forbids requests
without body but with Transfer-Encoding set to chunked

The header is not added when using mod_proxy_http.

Any chance we can get rid of it when proxying a request, that has no body and
doesn't bring the header by its own?

Thanks and regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to