httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yauheni Baltouski <ybaltou...@gmail.com>
Subject [users@httpd] Transfer-Encoding:chunked and mod_proxy
Date Fri, 04 Oct 2013 16:22:40 GMT
Hi,

I have latest Apache httpd installed as proxy server and found
unexpected behavior
while client sends POST with Transfer-Encoding: chunked and have
chunks in body present

The issue is with Bing voice search present.

If request passed through proxy, chunked body decoded and sended to
origin server
with plain text, i.e:

Client sends, for ex:

98
<CRLF>
--WINDOWSPHONE-SPEECHBOX-BOUNDARY
Content-Disposition: form-data; name="audiobytes"
Content-Type: audio/sirensr
Content-Transfer-Encoding: binary
<CRLF>

0
<CRLF>

But proxy removes chunk size and <CRLF>, so to Origin Server it sends only

--WINDOWSPHONE-SPEECHBOX-BOUNDARY
Content-Disposition: form-data; name="audiobytes"
Content-Type: audio/sirensr
Content-Transfer-Encoding: binary

this confuse Bing and client get error.

How can I configure/patch httpd to not touch chunked request
and sends it as it?

I will be very thankful for any helps.

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message