diff options
-rw-r--r-- | user_guide/libraries/output.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html index 304cd0a28..efb3346ce 100644 --- a/user_guide/libraries/output.html +++ b/user_guide/libraries/output.html @@ -99,6 +99,16 @@ $this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate"); $this->output->set_header("Cache-Control: post-check=0, pre-check=0", false);<br />
$this->output->set_header("Pragma: no-cache"); </code>
+
+<h2>$this->output->set_status_header();</h2>
+
+<p>Permits you to manually set a server status header. Example:</p>
+
+<code>$this->output->set_status_header('401');<br />
+// Sets the header as: Unauthorized</code>
+
+<p><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">See here</a> for a full list of headers.</p>
+
<h2>$this->output->enable_profiler();</h2>
<p>Permits you to enable/disable the <a href="../general/profiling.html">Profiler</a>, which will display benchmark and other data
|