VPOP3Net.GetHTTP
This function takes a single parameter
the
URL
to retrieve. This can be http:// or https://
The function returns two values
a table containing the result of the GET
Host - the hostname
File - the filename
Headers - a table containing the response headers
Body - a table containing the response body (one line per table row)
ErrorInfo - a string containing error information
HTTPResult - a string containing the HTTP Response code (eg “200”)
StatedLength - the length of the response from the header
ActualLength - the actual length of the response received
a boolean indicating success or failure
Notes
If the
URL
is an https://
URL
and the certificate is not valid, the function will return a blank page, with no HTTPResult value either