VPOP3Net.GetHTTP

This function takes a single parameter

  1. the URL to retrieve. This can be http:// or https://

The function returns two values

  1. 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
  2. a boolean indicating success or failure

Notes