DEMOS / Headers

Nitrogen allows you to access http headers via the wf:headers/0 and wf:headers/1 functions.

View Module Source
HeaderValue
connectionclose
accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
host127.0.0.1:8000
connectionclose
accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
host127.0.0.1:8000
user_agentCCBot/2.0 (http://commoncrawl.org/faq/)
accept_languageen-us,en-gb,en;q=0.7,*;q=0.3
accept_encodingx-gzip, gzip, deflate
Copyright © 2008-2014 Nitrogen Web Framework. Released under the MIT License.