Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   IsValidPlainHTTPURL
  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
IsValidPlainHTTPURL
  Test whether an URL is a valid HTTP url
 
Library wh::internet/http.whlib
 
Syntax PUBLIC BOOLEAN FUNCTION IsValidPlainHTTPURL (STRING url)
 
Description This function verifies that a HTTP URL is properly formatted, eg it begins with http:// or
https://, the hostname, port and username/password protocol part is followed by a slash,
the port number is in the proper range for TCP ports, etc. Note that this function explicitly
checks for HTTP urls, eg 'mailto:info[[[webhare.net' is]]] a valid URL, but not a valid HTTP URL.
 
Parameters
url URL to check
 
Returns True if the URL appears to be a valid HTTP URL.
 
 
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