W3C home > Mailing lists > Public > www-talk@w3.org > September to October 2003

HTTP/1.1 Chunked Transfer Encoding

From: <michael_pacey@standardlife.com>
Date: Fri, 24 Oct 2003 10:29:57 +0100
To: www-talk@w3.org
Message-ID: <OF6D5413B8.79C8B3EF-ON80256DC9.0032F59B@internal.standardlife.com>


 Apologies if this isn't the right list.

A simple question regarding chunked transfer encoding.

We have a J2EE server which exhibits the following behaviour. A J2EE
application sends an XML message in response to a POST request. Sometimes
the response uses chunked transfer encoding. When it does, HTTP headers are
included in the content of the first chunk, like this:

HTTP/1.1 100 Continue
Date: Tue, 21 Oct 2003 09:49:54 GMT
Server: xxxxxxxxxxx/xxx  Apache/1.3.20 (Unix)
Transfer-Encoding: chunked
Content-Type: text/html

HTTP/1.1 200 OK
Server: xxxxxxxxxxxxxxxxxxx/x.x
Content-Type: text/xml; charset=ISO-8859-1
Set-Cookie: JSESSIONID=00002NIZZPVLHKOY1JUST5RFHCA:unv3ultr;Path=/
Cache-Control: no-cache="set-cookie,set-cookie2"
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Content-Length: 5997
Content-Language: en

<?xml version="1.0" encoding="ISO-8859-1"
Received on Friday, 24 October 2003 05:43:53 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:27 UTC