odata/library/ODataProducer/OperationContext/Web/OutgoingResponse.php
/**
     * Sets the initial value of the default response headers
     * 
     * @return void
     */
Sets the initial value of the default response headers

@return void
Sets the initial value of the default response headers @return void
private function _initializeResponseHeaders()
    {
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_CONTENTTYPE]   = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_CONTENTLENGTH] = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_ETAG]          = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_CACHECONTROL]  = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_LASTMODIFIED]  = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_LOCATION]      = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_STATUS]        = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_STATUS_CODE]   = null;
        $this->_headers[ODataConstants::HTTPRESPONSE_HEADER_STATUS_DESC]   = null;
        $this->_dataServiceVersion = null;
    }
private function _initializeResponseHeaders ( ) { $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_CONTENTTYPE ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_CONTENTLENGTH ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_ETAG ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_CACHECONTROL ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_LASTMODIFIED ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_LOCATION ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_STATUS ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_STATUS_CODE ] = null ; $ this -> _headers [ ODataConstants :: HTTPRESPONSE_HEADER_STATUS_DESC ] = null ; $ this -> _dataServiceVersion = null ; }
Sets the initial value of the default response headers
Sets the initial value of the default response headers