private function getResponseType()
    {
        if (false === strpos($this->url, '.')) {
            return "";
        }
        list($path, $type) = explode('.', basename($this->url), 2);

        return $type;
    }
private function getResponseType()
    {
        if (false === strpos($this->url, '.')) {
            return "";
        }
        list($path, $type) = explode('.', basename($this->url), 2);

        return $type;
    }
private function getResponseType ( ) { if ( false === strpos ( $ this -> url , '.' ) ) { return "" ; } list ( $ path , $ type ) = explode ( '.' , basename ( $ this -> url ) , 2 ) ; return $ type ; }
Return expected response type based on URL.

@param void

@return string
Return expected response type based on URL .