From 3386c849e67ec9820ee1aef4bbfbb61da137b9b1 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Mon, 6 Oct 2008 18:10:59 +0000 Subject: Added set_status_header() function to docs --- user_guide/libraries/output.html | 10 ++++++++++ 1 file changed, 10 insertions(+) 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);
$this->output->set_header("Pragma: no-cache"); + +

$this->output->set_status_header();

+ +

Permits you to manually set a server status header. Example:

+ +$this->output->set_status_header('401');
+// Sets the header as: Unauthorized
+ +

See here for a full list of headers.

+

$this->output->enable_profiler();

Permits you to enable/disable the Profiler, which will display benchmark and other data -- cgit v1.2.3-24-g4f1b