thirdparty/Zend/Feed/Atom.php
public function send()
    {
        if (headers_sent()) {
            /** 
             * @see Zend_Feed_Exception
             */
            require_once 'Zend/Feed/Exception.php';
            throw new Zend_Feed_Exception('Cannot send ATOM because headers have already been sent.');
        }

        header('Content-Type: application/atom+xml; charset=' . $this->_element->ownerDocument->actualEncoding);

        echo $this->saveXML();
    }
public function send()
    {
        if (headers_sent()) {
            /** 
             * @see Zend_Feed_Exception
             */
            require_once 'Zend/Feed/Exception.php';
            throw new Zend_Feed_Exception('Cannot send ATOM because headers have already been sent.');
        }

        header('Content-Type: application/atom+xml; charset=' . $this->_element->ownerDocument->actualEncoding);

        echo $this->saveXML();
    }
public function send ( ) { if ( headers_sent ( ) ) { /** 
             * @see Zend_Feed_Exception
             */ require_once 'Zend/Feed/Exception.php' ; throw new Zend_Feed_Exception ( 'Cannot send ATOM because headers have already been sent.' ) ; } header ( 'Content-Type: application/atom+xml; charset=' . $ this -> _element -> ownerDocument -> actualEncoding ) ; echo $ this -> saveXML ( ) ; }
Send feed to a http client with the correct header

@return void
@throws Zend_Feed_Exception if headers have already been sent
Send feed to a http client with the correct header