POST URL and terminator characters

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

POST URL and terminator characters

Post by ale870 » Tue Apr 13, 2010 1:38 pm

Hello,

I encountered a strange problem in my program.
I send data to a java server using a POST command:

post myData to URL " ..... "

The nasty thing is in the received data, in post data, there is a CR+LF added to the posted data!!
I made a check and I do not insert that terminator. It seems RunRev introduces a CR+LF at the end of the posted information!
Even if I can fix that problem in the server-side (java side) I think that is a bad behavior. Is it any setup (confguration) to avoid it?

Thank you for your help!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: POST URL and terminator characters

Post by ale870 » Tue Apr 13, 2010 1:59 pm

Hello,

I confirm that this is a BUG of 4.5-dp3 version. In fact I made a test using the old version (4.0) and it works perfectly (no extra CR+LF is added).
I will submit it in the bug tracker.

Thank you.
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

Post Reply