You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nicle Yang <yn...@gmail.com> on 2006/09/04 06:00:10 UTC

[users@httpd] How to force the apache transfer the data in chunked mode?

Hi all,
   The apache manual says:"If the client requests it, chunked encoding will
be used in order to send content of unknown length over persistent
connections.", but I wanna the apache transfer the data in chunked mode,
even though we the length of the data. How can I configure it?

Best Regards
Nicle Yang

Re: [users@httpd] How to force the apache transfer the data in chunked mode?

Posted by Joshua Slive <jo...@slive.ca>.
On 9/4/06, Nicle Yang <yn...@gmail.com> wrote:
> Hi UHLAR,
>    I am developping a  http/1.1 client with chunk-parser, and I wanna find
> a httpserver(which transfers the data in chunk mode) to verify my
> chunk-parser.

You need to request content where apache httpd can't determine in
advance the content-length.  (For example, a CGI script or
SSI-processed page.)  And make sure to send the appropriate
Accept-Encoding.

Joshua.

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


Re: [users@httpd] How to force the apache transfer the data in chunked mode?

Posted by Nicle Yang <yn...@gmail.com>.
Hi UHLAR,
   I am developping a  http/1.1 client with chunk-parser, and I wanna find
a httpserver(which transfers the data in chunk mode) to verify my
chunk-parser.

Best Regards
Nicle Yang

2006/9/4, Matus UHLAR - fantomas <uh...@fantomas.sk>:
>
> On 04.09.06 12:00, Nicle Yang wrote:
> >   The apache manual says:"If the client requests it, chunked encoding
> will
> > be used in order to send content of unknown length over persistent
> > connections.", but I wanna the apache transfer the data in chunked mode,
> > even though we the length of the data. How can I configure it?
>
> you can not. Do you want to break your apache? If the client does not
> request chunked encoding, it probably does not support it, so the result
> would be broken data on client's side
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> You have the right to remain silent. Anything you say will be misquoted,
> then used against you.
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] How to force the apache transfer the data in chunked mode?

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 04.09.06 12:00, Nicle Yang wrote:
>   The apache manual says:"If the client requests it, chunked encoding will
> be used in order to send content of unknown length over persistent
> connections.", but I wanna the apache transfer the data in chunked mode,
> even though we the length of the data. How can I configure it?

you can not. Do you want to break your apache? If the client does not
request chunked encoding, it probably does not support it, so the result
would be broken data on client's side
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
You have the right to remain silent. Anything you say will be misquoted,
then used against you. 

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