Re: [squid-users] Multipart/form-data and Squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 08 Dec 2001 00:59:39 +0100

Jon Kay wrote:

> No. You just can't POST a file to Squid without a Content-Length.
> Can't remember offhand if HTTP allows multiparts with Content-Length.
>
> Although, do recall, you also need to do something about the
> cookie and especially the Pragma: No-Cache.

HTTP/1.1 even requires Content-Length unless it is known for a fact that
the server is a HTTP/1.1 server. This can't be known for a fact when
behind a Squid proxy as Squid is a HTTP/1.0 proxy and all responses via
Squid is automatically downgraded to HTTP/1.0 to prevent HTTP/1.1
detection from happening.

Multipart is only a data encoding operation, not a transfer encoding.
The request entity is the multipart encoded data.

Regards
Henrik Nordström
Squid Hacker
Received on Fri Dec 07 2001 - 17:00:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:16 MST