Problem with "Transfer-Encoding: chunked" in Apache 2.2
Posted
by Michal Niklas
on Server Fault
See other posts from Server Fault
or by Michal Niklas
Published on 2010-05-17T07:10:31Z
Indexed on
2010/05/17
7:20 UTC
Read the original article
Hit count: 964
One of client of our web service uses axis2 application that sends HTTP 1.1 query with:
Transfer-Encoding: chunked
header. Such query is refused by our Apache 2.2 with message:
<title>411 Length Required</title>
</head><body>
<h1>Length Required</h1>
<p>A request of the requested method POST requires a valid Content-length.<br />
In Apache logs there is:
[Mon May 17 09:06:04 2010] [error] [client 127.0.0.1] chunked Transfer-Encoding forbidden: /app/webservices/soap.hdb
When I send such message without Transfer-Encoding: chunked
and with Content-Length
all works ok. I searched how to solve this problem, but I found only how to disable Transfer-Encoding: chunked
on client side. Is there any way to do it on server side?
© Server Fault or respective owner