protected function getSuccessResponseHeaders($key)
    {
        return [
            self::HEADER_UPGRADE => self::UPGRADE_VALUE,
            self::HEADER_CONNECTION => self::CONNECTION_VALUE,
            self::HEADER_ACCEPT => $this->getAcceptValue($key),
        ];
    }
protected function getSuccessResponseHeaders($key)
    {
        return [
            self::HEADER_UPGRADE => self::UPGRADE_VALUE,
            self::HEADER_CONNECTION => self::CONNECTION_VALUE,
            self::HEADER_ACCEPT => $this->getAcceptValue($key),
        ];
    }
protected function getSuccessResponseHeaders ( $ key ) { return [ self :: HEADER_UPGRADE => self :: UPGRADE_VALUE , self :: HEADER_CONNECTION => self :: CONNECTION_VALUE , self :: HEADER_ACCEPT => $ this -> getAcceptValue ( $ key ) , ] ; }
Gets the default response headers

@param string $key
@return string[]
Gets the default response headers