http has rules for what characters you can send as part of the url. You need to be encoding the url, sending it, and the server needs to decode it.
Read this: http://tools.ietf.org/html/rfc3986 For your case you'll change your #10 to '%0d'. -----Original Message----- From: jordi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2008 3:56 AM To: Ararat Synapse Subject: [Synalist] CR Hi, I'd like to send long messages to an http server, included carriage returns using the thttpsend class. Is there a way to encode the #10 character? and use something like: data := 'http://localhost:7777/FirstMessage' + #10 + 'DoThis' + #10 + 'DoThat' + #10 + 'End'; if httpgettext (data, sl) then writeln (sl.text); I know this could be a stupid question, but I don't see how to do it. Thanks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
