HN44 / pywebdav

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

WebDAVServer incorrectly returns chunked response to HTTP/1.0 client #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect to davserver with HTTP/1.0 client
2. davserver returns chunked response
3. Fail

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
SVN Head

Please provide any additional information below.
HTTP/1.0 doesn't support chunked responses.  While HTTP/1.0 user agents are
not common, some proxies and utilities still utilize it (I discovered the
issue when attempting to proxy to davserver from Nginx, which only supports
HTTP/1.0 to proxied backends).

Fix seems simple enough.   Patch attached.

Original issue reported on code.google.com by cliff.we...@gmail.com on 10 Jul 2009 at 6:46

GoogleCodeExporter commented 8 years ago
Um, here's a nicer patch using "svn diff".

Original comment by cliff.we...@gmail.com on 10 Jul 2009 at 6:49

Attachments:

GoogleCodeExporter commented 8 years ago
ACK

Original comment by spamsch@gmail.com on 14 Jul 2009 at 6:25

GoogleCodeExporter commented 8 years ago

Original comment by klein.stephane on 26 Jul 2009 at 5:26