Beispiel #1
0
 /**
  * Create the application response header for AMF and sends the serialized AMF string
  *
  * @return string
  */
 public function getResponse()
 {
     if (!headers_sent()) {
         header('Cache-Control: cache, must-revalidate');
         header('Pragma: public');
         header('Content-Type: application/x-amf');
     }
     return parent::getResponse();
 }
Beispiel #2
0
 /**
  * Create the application response header for AMF and sends the serialized AMF string
  *
  * @return string
  */
 public function getResponse()
 {
     if (!headers_sent()) {
         header('Cache-Control: no-cache, must-revalidate');
         header('Expires: Thu, 19 Nov 1981 08:52:00 GMT');
         header('Pragma: no-cache');
         header('Content-Type: application/x-amf');
     }
     return parent::getResponse();
 }