You are here: Foswiki>System Web>Category>UserDocumentationCategory>Macros>VarHTTP (2024-12-23, UnknownUser)Edit Attach
The HTTP and HTTPS macros are deprecated as of Foswiki release 2.1. and will be removed in a future release.
Name | Description |
---|---|
"name" | Name of the header to get |
Write | Returns | Notes |
---|---|---|
%HTTP% | Always returns '' | |
%HTTP{"Accept-language"}% | ||
%HTTP{"User-Agent"}% | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) | |
%HTTP{"Cookie"}% | Not allowed by default. |
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
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback