public function testDispatch()
 {
     $headers = new Headers();
     $headers->setHeader('Content-Type', 'text/html');
     $this->assertTrue($headers->dispatch());
 }
Exemplo n.º 2
0
 /**
  *  Fire th' Cannons!!
  *
  * @return string
  */
 public function send()
 {
     $this->headers->dispatch();
     echo $this->body;
 }