MCPcopy
hub / github.com/authlib/authlib / _http_post

Method _http_post

authlib/oauth2/client.py:512–515  ·  view source on GitHub ↗
(self, url, body=None, auth=None, headers=None, **kwargs)

Source from the content-addressed store, hash-verified

510 return rv
511
512 def _http_post(self, url, body=None, auth=None, headers=None, **kwargs):
513 return self.session.post(
514 url, data=dict(url_decode(body)), headers=headers, auth=auth, **kwargs
515 )
516
517 def __del__(self):
518 del self.session

Callers 2

_refresh_tokenMethod · 0.95
_handle_token_hintMethod · 0.95

Calls 2

url_decodeFunction · 0.90
postMethod · 0.80

Tested by

no test coverage detected