src/Net/HTTP/Status.php
static public function sendHeader( $code, $protocol = "HTTP/1.0" ){
		$text = self::getText( $code );
		header( $protocol.' '.$code.' '.$text );
	}
static public function sendHeader( $code, $protocol = "HTTP/1.0" ){
		$text = self::getText( $code );
		header( $protocol.' '.$code.' '.$text );
	}
static public function sendHeader ( $ code , $ protocol = "HTTP/1.0" ) { $ text = self :: getText ( $ code ) ; header ( $ protocol . ' ' . $ code . ' ' . $ text ) ; }
Sends HTTP header with status code and text.
@access		public
@param		integer		$code			HTTP status code to send
@param		string		$protocol		HTTP protocol, default: HTTP/1.0
@return		void
Sends HTTP header with status code and text .