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