Re: Content Length Vs Chunked Encoding

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

 



Thanks for the response.Â
Â
That means there is nothing like configuring the server but we have to induce input such that it satisfies chunked encoding and the server will do it.Â
Â
I have a client which supports chunked encoding based on HTTP 1.1, hence to test this I want to send from server chunked encoded data. Do you know if any readily available module or web sites that are categorized as chunked.Â
Â
Thanks
-Madan

2010/11/25 Igor GaliÄ <i.galic@xxxxxxxxxxxxxx>

----- "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