Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   GetHTTPPage
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
HareScript
Internet connectivity
 
File transfer (FTP)
Hypertext transfer (HTTP)
IMAP library
MIME and RFC822
POP3 email
Simple Mail Transfer Protocol (SMTP)
TCP/IP connections
GetHTTPPage
  This function will get a url from the webserver
 
Library wh::internet/http.whlib
 
Syntax PUBLIC RECORD FUNCTION GetHTTPPage (INTEGER connectionid,STRING query)
 
Parameters
connectionid Integer id of the connection (opened by OpenHTTPServer)
query String containing the query to load (example /path/script.shtml?a=b&d=c)
 
Returns Record containing the page
  The record contains the following cells:
content Contents of the url retrieved
protocol String of the protocol (example "HTTP/1.1")
code Integer of the return code
headers A record array of (field,value) strings containing the headers received with this request
 
 
In library 'http'
AddVariableToUrl
CloseHTTPServer
DecodeHTTPAuthenticationHeader
DeleteVariableFromUrl
EncodeDigestAuthorizationHeader
FormatHttpDateTime
FormatISO8601DateTime
GetHTTPPage
GetHTTPPageHeaders
GetVariableFromUrl
IsAbsoluteUrl
IsValidPlainHTTPURL
MakeRelativeLinkFromURL
OpenHTTPServer
OpenHTTPServerOnSocket
OpenSecureHTTPServer
PostHTTPPage
PostHTTPPageMultipart
ReplaceVariableInUrl
ResolveToAbsoluteURL
SendHTTPRequest
SetHTTPAuthentication
 
Top To top of page