Re: [squid-users] Missing content-length header for POST and PUT

2011-02-08 Thread David Gubler
On 24.01.2011 21:32, Henrik Nordström wrote: Sure. Revision 11172. Drops those method checks. Thanks guys, you're great! Problem is solved with the latest version from the repository. (sorry, it took me a while to actually find time to test it...) David

Re: [squid-users] Missing content-length header for POST and PUT

2011-01-24 Thread Henrik Nordström
tis 2011-01-25 klockan 02:01 +1300 skrev Amos Jeffries: > > But to be honest we do not really need to check that POST/PUT have a > > request entity. This is mostly a relic from way back when request > > entities were handled very special. > > > > Can I expect a patch soon then? Sure. Revision 11

Re: [squid-users] Missing content-length header for POST and PUT

2011-01-24 Thread Amos Jeffries
On 24/01/11 13:28, Henrik Nordström wrote: fre 2011-01-21 klockan 05:45 +1300 skrev Amos Jeffries: "empty"? No. If they have no content length indicated they have to be assumed as being infinite length transfers. HTTP specs require this 411 reply message. Not quite. Requests without an entity

Re: [squid-users] Missing content-length header for POST and PUT

2011-01-23 Thread Henrik Nordström
fre 2011-01-21 klockan 05:45 +1300 skrev Amos Jeffries: > "empty"? No. If they have no content length indicated they have to be > assumed as being infinite length transfers. HTTP specs require this 411 > reply message. Not quite. Requests without an entity is always headers-only. The infinite l

Re: [squid-users] Missing content-length header for POST and PUT

2011-01-20 Thread Amos Jeffries
On 21/01/11 03:53, David Gubler wrote: On 20.01.2011 14:24, Ralf Hildebrandt wrote: * David Gubler: Hi list, We're testing Squid (3.1.6) as a reverse proxy to accelerate our web site. Now we have discovered a major issue: Squid does not accept empty POSTs (and probably PUTs) that don't have a

Re: [squid-users] Missing content-length header for POST and PUT

2011-01-20 Thread David Gubler
On 20.01.2011 14:24, Ralf Hildebrandt wrote: * David Gubler: Hi list, We're testing Squid (3.1.6) as a reverse proxy to accelerate our web site. Now we have discovered a major issue: Squid does not accept empty POSTs (and probably PUTs) that don't have a content-length header, and returns HTTP/

Re: [squid-users] Missing content-length header for POST and PUT

2011-01-20 Thread Ralf Hildebrandt
* David Gubler : > Hi list, > > We're testing Squid (3.1.6) as a reverse proxy to accelerate our web > site. Now we have discovered a major issue: Squid does not accept > empty POSTs (and probably PUTs) that don't have a content-length > header, and returns HTTP/411. All works fine if we bypass th

[squid-users] Missing content-length header for POST and PUT

2011-01-20 Thread David Gubler
Hi list, We're testing Squid (3.1.6) as a reverse proxy to accelerate our web site. Now we have discovered a major issue: Squid does not accept empty POSTs (and probably PUTs) that don't have a content-length header, and returns HTTP/411. All works fine if we bypass the proxy. Since this is