httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madan Udaykumar <mad.u...@gmail.com>
Subject Re: [users@httpd] Content Length Vs Chunked Encoding
Date Fri, 26 Nov 2010 03:30:13 GMT
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@brainsware.org>

>
> ----- "Madan Udaykumar" <mad.uday@gmail.com> 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@brainsware.org
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message