Apache Server configuration support - POST and Transfer-Encoding: chunked problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2004 > POST and Transfer-Encoding: chunked problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author POST and Transfer-Encoding: chunked problem
Wolfgang W.

2004-04-30, 4:33 pm

Hi ng,

I have a problem with Java 2 ME and Apache server.
I think Apache 1.3.x should accept chunked post requests, but if I try to
send a request I allways get a

HTTP/1.1 411 Length Required
A request of the requested method POST requires a valid Content-length.
chunked Transfer-Encoding forbidden: /php/php.exe/save.php

response.

request:

POST /save.php HTTP/1.1
content-type: multipart/form-data; boundary....
transfer-encoding: chunked
host: ....

lots of data...


Now I suppose it's a problem with switches like:

#
# The following directive disables HTTP/1.1 responses to browsers which
# are in violation of the HTTP/1.0 spec by not being able to grok a
# basic 1.1 response.
#
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0


but it isn't.

Any ideas or is it a php/cgi problem?

regards




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com