Re: Content Length Vs Chunked Encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Madan Udaykumar" <mad.uday@xxxxxxxxx> wrote:

> Hi,
> 
> I am using Apache 2.2.8 server installed on Ubuntu. I want to enable
> the server to send me chunked encoded data when I request data from
> the server. I looked at all FAQ, google etc and could not find exact
> answer to enable this.
> 
> Appreciate if you can let me know how exactly to do this.

The point of chunked encoding is that it's sent out only when a
number of conditions are met:

* The client supports chunked encoding
 - This is implied by a client advertising itself as HTTP/1.1
 - or by clients who explicitly send out the TE request header
   (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.39)
* The server cannot determine the content length.
 - For a User-Agent using a protocol prior to HTTP/1.0, the content
   simply will be sent out without a Content-Length header.

This means that it's very easy to provoke a chunked transfer-encoding
from a module producing dynamic content.

> Thanks
> -Madan

i

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux