Class: THTTPSend
RFC: 1945, 2616
Features:
{you must create object for HTTP session}
HTTP:=THTTPSend.Create;
try
{set address of HTTP server for qurey}
HTTP.HTTPHost:=HTTPHost;
{send query to HTTP server and get response}
if not HTTP.Request(StringListWithQuery,StringListForResponse) then
{error connecting to server. If error on server (i.e. page not found), you must decode Response.}
;
{remember, response begin with response headers and then requested resource...}
finally
{destroy HTTP object}
HTTP.Free;
end;