User Tools

Site Tools


reference:spamrules_statement_httpget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
reference:spamrules_statement_httpget [2011/08/24 12:39] – created simonreference:spamrules_statement_httpget [2011/08/24 14:59] simon
Line 8: Line 8:
  
   * The first line of the headers variable will contain the HTTP result code, if present   * The first line of the headers variable will contain the HTTP result code, if present
-  * If VPOP3 couldn'connect to the web server or couldn'resolve the name of the website, the headers may be totally empty+  * If VPOP3 cannot connect to the web server or cannot resolve the name of the website, the headers may be empty 
 +  * Only <nowiki>http://</nowiki> connections are supported - for <nowiki>https://</nowiki> connections, use [[spamrules_statement_winhttpget|WinHTTPGet]]
   * **HTTPGet** is only suitable for retrieving text web pages   * **HTTPGet** is only suitable for retrieving text web pages
 +  * VPOP3 has more control over **HTTPGet** than it does over **WinHTTPGet**
  
  
 =====Example===== =====Example=====
-The following example will retrieve the webpage "http://www.pscs.co.uk", put the HTTP headers into the ${hdrs} variableand put the content into the ${content} variable+The following example will retrieve the webpage <nowiki>"http://www.pscs.co.uk"</nowiki>return the HTTP headers into the ${hdrs} variable and return the content into the ${content} variable
 <code> <code>
 HTTPGet "http://www.pscs.co.uk" hdrs content HTTPGet "http://www.pscs.co.uk" hdrs content
 </code> </code>
reference/spamrules_statement_httpget.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1