You are here: TWiki> TWiki Web>TWikiVariables>VarHTTP (2005-03-27, TWikiContributor)
create new tag
, view all tags

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{"Accept-language"}% en-US,en;q=0.5
%HTTP{"User-Agent"}% CCBot/2.0 (
Topic revision: r2 - 2005-03-27 - TWikiContributor

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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 at TWiki:TWiki.VarHTTP.