diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-07-19 20:03:33 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 20:03:33 +1000 |
commit | a97c845271f9a89ebdb7186d4c9d04c099bd1beb (patch) | |
tree | 403664813ae39e3cf4d005cd71ee4d2e004571a7 /synapse/http | |
parent | Merge pull request #3554 from matrix-org/erikj/response_metrics_code (diff) | |
download | synapse-a97c845271f9a89ebdb7186d4c9d04c099bd1beb.tar.xz |
Move v1-only APIs into their own module & isolate deprecated ones (#3460)
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/client.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index d6a0d75b2b..25b6307884 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -26,9 +26,11 @@ from OpenSSL.SSL import VERIFY_NONE from twisted.internet import defer, protocol, reactor, ssl, task from twisted.internet.endpoints import HostnameEndpoint, wrapClientTLS from twisted.web._newclient import ResponseDone -from twisted.web.client import Agent, BrowserLikeRedirectAgent, ContentDecoderAgent -from twisted.web.client import FileBodyProducer as TwistedFileBodyProducer from twisted.web.client import ( + Agent, + BrowserLikeRedirectAgent, + ContentDecoderAgent, + FileBodyProducer as TwistedFileBodyProducer, GzipDecoder, HTTPConnectionPool, PartialDownloadError, |