Exemplo n.º 1
0
 public function getHTTPStatusString()
 {
     return Constants::text_for_status($this->status);
 }
Exemplo n.º 2
0
Arquivo: http.php Projeto: jaz303/zing
 protected function send_headers()
 {
     header(Constants::PROTOCOL_VERSION . " " . $this->status . Constants::text_for_status($this->status));
     foreach ($this->headers as $h) {
         header($h);
     }
 }