Hi,
I have a problem where the input stream containing POST information is
not
getting through from WAP phones to my application - can anyone help
with the following?
The configuration we have is UP.Link 4.2.1.2 WAP gateway and IBM /
Apache HTTP
server 1.3.6.3, running on Solaris 5.7.
If I use a Mitsubishi Trium phone, POST requests work fine. If I use a
Nokia phone (or the Nokia phone simulator) the POST request gets
through,
but none of the POST data.
The problem appears to be how the HTTP Server handles the POST request.
Using Snoop on Solaris, in both situations I see the HTTP POST request
and
input data coming through. However, the HTTP Server logs tell a
different
story: in the cases where the POST works, I see a normal POST request in
the logs. In the cases where it does not work, I see two
requests: first, the POST request is logged as before. Immediately
following that is a second request containing the POST input data,
i.e. the HTTP Server treats the POST input stream as a separate request,
and throws an error because it obviously doesn't recognise the POST
input
data is a valid HTTP method.
Has anyone seen anything similar to this, or can suggest what might be
causing the HTTP Server to handle the POST request in this way?
I did find one (old) post on the Apache bug database that looked similar
(but not identical) that recommended checking the request headers sent
by the client. In my case, some of these headers are added by the phone,
and some by the gateway. In particular I'm wondering if this is anything
to do with the "Accept-Charset" header?
If anyone asks I can post contents of
the Snoop or HTTP server logs.
Thanks in advance for any comments,
Rick
Sent via Deja.com
http://www.deja.com/