Exemple #1
0
 public function send()
 {
     $this->addHeader('Content-type: application/json; charset=utf-8');
     parent::send();
 }
Exemple #2
0
 public function send()
 {
     $this->addHeader('Content-type: text/xml;');
     parent::send();
 }