summary refs log tree commit diff
path: root/synapse/http/client.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-20 18:00:10 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-20 18:00:10 +0000
commit610c2ea1314a8aeb0a5c3b8a06f67a4057e25a4c (patch)
tree52f9e08ad39ca4bf4fc19ff7d94e3794686a99c7 /synapse/http/client.py
parentMerge pull request #20 from matrix-org/http_client_refactor (diff)
downloadsynapse-610c2ea1314a8aeb0a5c3b8a06f67a4057e25a4c.tar.xz
Fix pep8 and pyflakes warnings
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r--synapse/http/client.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py

index 5c3ddcd83d..048a428905 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py
@@ -32,15 +32,16 @@ logger = logging.getLogger(__name__) class SimpleHttpClient(object): """ - A simple, no-frills HTTP client with methods that wrap up common ways of using HTTP in Matrix + A simple, no-frills HTTP client with methods that wrap up common ways of + using HTTP in Matrix """ def __init__(self, hs): self.hs = hs # The default context factory in Twisted 14.0.0 (which we require) is - # BrowserLikePolicyForHTTPS which will do regular cert validation 'like a browser' + # BrowserLikePolicyForHTTPS which will do regular cert validation + # 'like a browser' self.agent = Agent(reactor) - @defer.inlineCallbacks def post_urlencoded_get_json(self, uri, args={}): logger.debug("post_urlencoded_get_json args: %s", args)