Difference: VarHTTP (1 vs. 2)

Revision 22005-03-27 - TWikiContributor

 
META TOPICPARENT name="TWikiVariables"
Deleted:
<
<
 

HTTP -- get HTTP headers

  • Called with the name of an HTTP header field, returns its value. Capitalization and the use of hyphens versus underscores are not significant.
  • Syntax: %HTTP%
  • Syntax: %HTTP{"Header-name"}%
  • Examples:
    %HTTP%  
    %HTTP{"Accept-language"}% en-US,en;q=0.5
    %HTTP{"User-Agent"}% CCBot/2.0 (https://commoncrawl.org/faq/)
  • ALERT! Note: You can see the HTTP headers your browser sends to the server on a number of sites e.g. http://www.ericgiguere.com/tools/http-header-viewer.html
Changed:
<
<
>
>
 

Revision 12005-03-27 - TWikiContributor

 
META TOPICPARENT name="TWikiVariables"

HTTP -- get HTTP headers

 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 1999-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarHTTP.