ons 2009-07-15 klockan 21:10 +0100 skrev Markus Moeller: > Is it allowed to use a content length with a CONNECT method to a proxy ? Good question. Specifications mention nothing about it. > If so how must the proxy reply ? Acknowledge the connect request immediately > and then receive the data or wait for he data before acknowledging the > connect request ? Unspecified. My say is that using Content-Length in CONNECT is a BAD idea. Depending on the implementation one of the following four things MAY happen: 1. Handled the same as if no Content-Length was sent. 2. Content-Length amount of octets discarded by the proxy. 3. Content-Length amount of octets enforced by the proxy, stopping forwarding of client->server data after that. 4. Ugly crashes and/or blue smoke Regards Henrik