Mailing List Archive

Using Transfer-Encoding: chunked for posting data
hello all,
I have installed Apache v1.3.9 on a solaris machine. I
am trying to do an http post of data for which the
content length is not determinable at the http post
request time.
I read through the rfc 2616 for this and it guided me
towards the Transfer-Encoding: chunked header. I am
trying to create the post data on the fly and writing
it as chunks with the proper headers as desribed in
the above rfc. The response that I get back from the
Apache server is "chunked encoding forbidden" for my
target url.
I also went through the mailing list archives and
found that there was no easy way to do this if the
apache web server needs to forward requests with
unknown length to cgi-bin, as cgi-bin expects the
CONTENT-LENGTH environment variable to be set before
it starts parsing the data. But , I am using Apache
with servletexec ( a servlet container ) and I am
trying to post to a jsp/servlet. The user agent that I
am using is http/1.1 compliant.

I hope that someone could provide me with some
valuable suggestions on my problem or guide me to some
appropraite place. Would I need to
-- download a newer version of apache in which this
problem has been fixed ?


Thanks in advance,
--navneet

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org