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>

Hi,

 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

1000
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"
?><message><m_control><control_timestamp>
Received on Friday, 24 October 2003 05:43:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:28 GMT