You can control the headers quite explicitly with the string list that
is sent when making a connection.
The synalist http request example shows this list as a parameter. You
can completely take over that. So understanding that you send this
OBJECT which is a list of lines of text that become a header and
understanding how to use the TSTRINGLIST I believe its called should
help you.

Good Luck man!
--Jason


-------- Original Message --------
Subject: [Synalist] Basic Question about HTTP 1.1 in Synapse httpsend
From: "Klaus Langner" <k...@cybercity.de>
Date: Sun, September 30, 2012 11:31 am
To: "Ararat Synapse" <synalist-public@lists.sourceforge.net>


Hello,

I am using HttpPostURL to communicate with Paypal. Paypal will soon
require
certain requests ("IPN") to be sent with HTTP 1.1 and to contain "Host:
http://www.paypal.com"; and "Connection: close" in the HTTP header.

I guess it will not be sufficient to just set

 FProtocol := '1.1';

in constructor THTTPSend.Create ?

Any help on how to include/modify the Host and Connection data is
greatly
appreciated.

Thanky,
- Klaus -

http://cybercity.de



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to