If your POST is not URL encoded, then the proxy server will partially URL
encode it for you, with sometimes interesting results ;> But, I have never
seen extra non-printable characters appended.
You can test this for yourself. We put together two links to test the
partial URL encoding etc. awhile back:
http://207.175.161.68/scripts/posttext.dll
http://207.175.161.68/scripts/postpage.dll
The first link echoes the posted data, along with a count. It is in raw
text with a newline char inserted every 18 chars (for easy palm display).
The second link is the same thing but returns an HTTP page instead of raw
text. Sending the following from a Palm VII:
"This is a test\rTesting 1, 2, 3..."
Returns:
Rcvd: 39
This+is+a+test%0DT
esting+1%2C+2%2C+3
...
Which includes no extra chars at the end, but does show the partial URL
encoding (space to +, other chars expanded to %xx, etc.)
Good Luck,
-jjf
-----Original Message-----
From: Khanh Tran [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 1:42 PM
To: Palm Developer Forum
Subject: INetLib routines
Hi all,
First I'd like to thank everyone who has replied to my previous post about
disabled button, your answers have been most helpful!
Now a different question about the INetLib calls. I'm sending a POST
request using the INetGo routine in the INetLow sample. The POST string in
the INetLibSockHTTPReqSend call looks correct. However when it gets to the
server, there are 2 extra characters (line feed & carriage return) got
appended to the end of the request, and this confuses the server to no end.
Has anybody seen this before? What can I do to stop these extra characters
from being sent?
Thanks so much!
Khanh.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/