ucscsdk/ucscdriver.py
def __create_request(self, uri, data=None):
        """
        Internal method to create http/https web request

        Args:
            uri (str): protocol://web_address:port
            data (str): data to send over web request

        Returns:
            web request object
        """

        request_ = urllib2.Request(url=uri, data=data)
        headers = self.__headers
        for header in headers:
            request_.add_header(header, headers[header])
        return request_

        Internal method to create http/https web request

        Args:
            uri (str): protocol://web_address:port
            data (str): data to send over web request

        Returns:
            web request object
        
Internal method to create http/https web request
Internal method to create http / https web request
def __create_request(self, uri, data=None):
        request_ = urllib2.Request(url=uri, data=data)
        headers = self.__headers
        for header in headers:
            request_.add_header(header, headers[header])
        return request_
def __create_request ( self , uri , data = None ) : request_ = urllib2 . Request ( url = uri , data = data ) headers = self . __headers for header in headers : request_ . add_header ( header , headers [ header ] ) return request_
Internal method to create http/https web request
Internal method to create http / https web request
"""
        Internal method to create http/https web request

        Args:
            uri (str): protocol://web_address:port
            data (str): data to send over web request

        Returns:
            web request object
        """
web request object
web request object
self
uri
None
data
data to send over web request
data to send over web request