Can you resend, with content and explicit line breaks.

aarno

On 24.7.2005, at 3.31, Linkas wrote:

Hello,
I'm trying to POST two files (PAP and SI) to the wapbox.

I send:

POST /wappush?username=ppgusername&password=ppgpassword HTTP/1.1
Host: 10.100.20.10:8080
User-Agent: PEAR HTTP_Request class ( http://pear.php.net/ )
Connection: close
Accept-Encoding: gzip
Content-Type: multipart/form-data; boundary=HTTP_Request_18fad3f770099328fe008948b6c4f889
Content-Length: 1225
<CONTENT FOLLOW>

and as an error, I get:

<?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd";><pap><badmessage- response code="2000" desc="Not understood due to malformed syntax" bad-message-fragment="="></badmessage-response></pap>

I'm using a pear.php.net HTTP_Request class.
Any suggestion ?

Thanks
J




Reply via email to