oauth2lib/client.py
def http_post(self, url, data=None):
        """POST to URL and get result as a response object.

        :param url: URL to POST.
        :type url: str
        :param data: Data to send in the form body.
        :type data: str
        :rtype: requests.Response
        """
        if not url.startswith('https://'):
            raise ValueError('Protocol must be HTTPS, invalid URL: %s' % url)
        return requests.post(url, data, verify=True)
def http_post(self, url, data=None):
        if not url.startswith('https://'):
            raise ValueError('Protocol must be HTTPS, invalid URL: %s' % url)
        return requests.post(url, data, verify=True)
def http_post ( self , url , data = None ) : if not url . startswith ( 'https://' ) : raise ValueError ( 'Protocol must be HTTPS, invalid URL: %s' % url ) return requests . post ( url , data , verify = True )
POST to URL and get result as a response object.

        :param url: URL to POST.
        :type url: str
        :param data: Data to send in the form body.
        :type data: str
        :rtype: requests.Response
POST to URL and get result as a response object .