skip to content
PSCS Wiki
User Tools
Admin
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
•
PostgreSQL Replication
•
Database query to export LAN Forwarding rules
•
Problems accessing VPOP3 Settings
•
Permissions
•
Spam Filter Rules: GetDecodedSection
•
Message Rules
•
Database -> Backups Tab
•
Lua SMTP Relay Control
•
LAN Forwarding Queue Status
•
VPOP3Net.GetHTTP
Sidebar
General FAQ
How To's
Video Tutorials
Reference Guide
Troubleshooting
reference:vpop3net.gethttp
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
reference/vpop3net.gethttp.txt
· Last modified: 2021/03/09 16:42 by
paul
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top