Skip to content
Snippets Groups Projects
Commit 173567a7 authored by Richard van der Hoff's avatar Richard van der Hoff
Browse files

Docstring for post_urlencoded_get_json

parent 54a25251
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,17 @@ class SimpleHttpClient(object):
@defer.inlineCallbacks
def post_urlencoded_get_json(self, uri, args={}, headers=None):
"""
Args:
uri (str):
args (dict[str, str|List[str]]): query params
headers (dict[str, List[str]]|None): If not None, a map from
header name to a list of values for that header
Returns:
Deferred[object]: parsed json
"""
# TODO: Do we ever want to log message contents?
logger.debug("post_urlencoded_get_json args: %s", args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment