Omar9027 / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

do not set Content-Length of request if it is 0 #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
some web server give 400 when Content-Length of request is 0.

What steps will reproduce the problem?
1. ./ratproxy -v . -w ./out.log -d lighttpd.net -lfscm
2. visit www.lighttpd.net

What is the expected output? What do you see instead?
expect 200 but get 400 instead

What version of the product are you using? On what operating system?
ratproxy 1.51. Mac OS X 10.5

Original issue reported on code.google.com by iamawal...@gmail.com on 7 Jul 2008 at 3:33

Attachments:

GoogleCodeExporter commented 9 years ago
Interesting. Thanks for the patch, will land it on 1.52.

Original comment by lcam...@gmail.com on 7 Jul 2008 at 11:29