summary refs log tree commit diff
path: root/synapse/http/client.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update to use new timeout function everywhere.Erik Johnston2018-09-191-2/+2
* fixAmber Brown2018-09-151-3/+3
* merge (#3576)Amber Brown2018-09-141-4/+10
* Port http/ to Python 3 (#3771)Amber Brown2018-09-061-51/+31
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* Kill off MatrixCodeMessageExceptionRichard van der Hoff2018-08-011-34/+27
* Move v1-only APIs into their own module & isolate deprecated ones (#3460)Amber Brown2018-07-191-2/+4
* run isortAmber Brown2018-07-091-23/+25
* Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-1/+1
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-3/+3
* redact_uri in two missed log pathsMichael Telatynski2018-06-061-2/+2
* factor out uri redaction into a method on httpMichael Telatynski2018-06-051-6/+2
* Strip `access_token` from outgoing requests using existing regexMichael Telatynski2018-06-021-1/+6
* cleanupAmber Brown2018-05-221-1/+2
* replacing portionsAmber Brown2018-05-211-14/+6
* replace stringIO importsAdrian Tschira2018-04-281-2/+2
* Backport deferred.addTimeoutRichard van der Hoff2018-04-271-2/+4
* Use deferred.addTimeout instead of time_bound_deferredRichard van der Hoff2018-04-231-12/+8
* Increase http conn pool sizeRichard van der Hoff2018-01-291-1/+6
* Use a connection pool for the SimpleHttpClientRichard van der Hoff2018-01-201-1/+8
* Merge pull request #2586 from matrix-org/rav/frontend_proxy_auth_headerRichard van der Hoff2017-10-271-28/+80
|\
| * Docstring for post_urlencoded_get_jsonRichard van der Hoff2017-10-271-0/+11
| * SimpleHTTPClient: add support for headersRichard van der Hoff2017-10-261-28/+69
* | Fix logcontext leaks in httpclientRichard van der Hoff2017-10-261-10/+9
|/
* Remember how twisted worksKegan Dougal2017-05-051-2/+2
* Include the clockKegan Dougal2017-05-051-0/+1
* Rewrite SimpleHttpClient.request to include timeoutsKegan Dougal2017-05-051-13/+19
* No need for the exception variableDavid Baker2017-05-031-1/+1
* List caught expection typesDavid Baker2017-05-031-1/+1
* Remove debuggingDavid Baker2017-04-261-2/+1
* Fix get_jsonDavid Baker2017-04-261-5/+4
* Use CodeMessageException subclass insteadDavid Baker2017-04-251-44/+20
* Need the HTTP status codeDavid Baker2017-04-211-5/+5
* Do the same for get_jsonDavid Baker2017-04-211-8/+21
* Don't error for 3xx responsesDavid Baker2017-04-211-1/+1
* Propagate errors sensibly from proxied IS requestsDavid Baker2017-04-211-0/+30
* Remove spurious newlineJohannes Löthberg2016-12-121-1/+0
* Fixup for #1689 and #1690Johannes Löthberg2016-12-121-4/+7
* IPv6 support for client.pyGlyph2016-12-111-16/+11
* Work around TLS bug in twistedRichard van der Hoff2016-06-151-2/+26
* Clean up the blacklist/whitelist handling.Mark Haines2016-05-161-2/+1
* add a url_preview_ip_range_whitelist config param so we can whitelist the mat...Matthew Hodgson2016-05-011-2/+4
* Make InsecureInterceptableContextFactory work with SpiderEndpointErik Johnston2016-04-191-1/+4
* actually throw meaningful errorsMatthew Hodgson2016-04-081-5/+16
* Add url_preview_enabled config option to turn on/off preview_url endpoint. de...Matthew Hodgson2016-04-081-5/+39
* pep8Matthew Hodgson2016-04-031-4/+10
* add a persistent cache of URL lookups, and fix up the in-memory one to workMatthew Hodgson2016-04-031-3/+3
* support gzip compression, and don't pass through error msgsMatthew Hodgson2016-04-021-3/+8
* handle spidered relative images correctlyMatthew Hodgson2016-03-311-1/+1
* sync in changes from matrixfederationclientMatthew Hodgson2016-03-311-2/+6
* handle requests with missing content-length headers (e.g. YouTube)Matthew Hodgson2016-03-311-7/+26
* implement redirectsMatthew Hodgson2016-03-291-3/+3
* make it workMatthew Hodgson2016-03-291-1/+2
* make it buildMatthew Hodgson2016-03-291-1/+1
* Merge branch 'develop' into matthew/preview_urlsMatthew Hodgson2016-03-271-2/+15
|\
| * pep8David Baker2016-03-081-2/+5
| * Encode unicode objects given to post_urlencode* otherwise urllib.urlencode ch...David Baker2016-03-081-2/+12
* | initial WIP of a tentative preview_url endpoint - incomplete, untested, exper...Matthew Hodgson2016-01-241-0/+81
|/
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Verify third party ID server certificatesDaniel Wagner-Hall2015-10-161-4/+0
* Fix previous merge to s/version_string/user_agent/Erik Johnston2015-10-101-2/+2
* Add get_raw method to SimpleHttpClient, use this in CAS auth rather than requ...Steven Hammerton2015-10-101-19/+36
* Use space not dash as delimiterDaniel Wagner-Hall2015-10-061-1/+1
* Use space not dash as delimiterDaniel Wagner-Hall2015-10-061-1/+1
* Preserve version string in user agentDaniel Wagner-Hall2015-10-051-3/+3
* Allow synapse's useragent to be customizedDaniel Wagner-Hall2015-10-021-6/+9
* Rename context factoryDaniel Wagner-Hall2015-09-151-3/+3
* Fix random formattingDaniel Wagner-Hall2015-09-091-1/+2
* Allow configuration to ignore invalid SSL certsDaniel Wagner-Hall2015-09-091-2/+23
* Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-1/+2
* Fix log context when sending requestsErik Johnston2015-06-191-5/+5
* Log requests and responses sent via http.clientErik Johnston2015-06-151-3/+15
* Correctly pass connection pool parameterErik Johnston2015-05-281-1/+1
* Up maxPersistentPerHost countErik Johnston2015-05-281-0/+1
* Add connection pooling to SimpleHttpClientErik Johnston2015-05-281-2/+4
* Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-1/+5
* New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-301-0/+2
* Appease pep8Paul "LeoNerd" Evans2015-03-121-3/+7
* Use _ instead of . as a metric namespacing separator, for PrometheusPaul "LeoNerd" Evans2015-03-121-2/+2
* Rename Metrics' "keys" to "labels"Paul "LeoNerd" Evans2015-03-121-2/+2
* Add vector counters to HTTP clients and servers; count the requests by method...Paul "LeoNerd" Evans2015-03-121-1/+22
* Pull out all uses of the underlying HTTP user agent .request() method into a ...Paul "LeoNerd" Evans2015-03-121-5/+10
* Fix bug which prevented the HS pushing events to the AS due to FrozenEventsKegan Dougal2015-03-021-1/+1
* Use git aware version string in User-Agent and Server headersErik Johnston2015-02-181-5/+5
* Merge pull request #50 from matrix-org/application-servicesMark Haines2015-02-131-10/+57
|\
| * Minor tweaks based on PR feedback.Kegan Dougal2015-02-111-1/+2
| * Add SimpleHttpClient.put_json with the same semantics as get_json.Kegan Dougal2015-02-041-2/+46
| * Update user/alias query APIs to use new format of SimpleHttpClient.get_jsonKegan Dougal2015-02-041-0/+3
| * Modify API for SimpleHttpClient.get_json and update usages.Kegan Dougal2015-02-041-10/+9
* | Use encode_canonical_json for http clientErik Johnston2015-02-111-1/+3
* | Blunty replace json with simplejsonErik Johnston2015-02-111-1/+1
|/
* Merge branch 'develop' into pushersDavid Baker2015-01-131-3/+9
|\
| * SYN-231: User agent header brokenMark Haines2015-01-081-3/+3
| * Update copyright noticesMark Haines2015-01-061-1/+1
| * Include version in User-Agent and Server headersMark Haines2014-12-221-2/+8
* | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP p...David Baker2014-11-211-0/+19
|/
* Fix pep8 and pyflakes warningsMark Haines2014-11-201-3/+4
* Separate out the matrix http client completely because just about all of its ...David Baker2014-11-201-322/+29
* Refactor the HTTP clients a little.David Baker2014-11-201-79/+75
* CaptchaServerHttpClient should extend the base, not matrix http client.David Baker2014-11-201-1/+1
* SYN-141: Encode query params as UTF-8.Mark Haines2014-11-181-1/+7
* Merge branch 'develop' into request_loggingMark Haines2014-10-301-3/+4
|\
| * Fix pep8 warningsMark Haines2014-10-301-4/+7
* | Add a request-id to each log lineMark Haines2014-10-301-11/+15
|/
* Add get_json method to 3pid http client. Better logging for errors in 3pid re...Mark Haines2014-10-201-1/+39
* remove debugging logging for signing requestsMark Haines2014-10-141-4/+0
* Verify signatures for server2server requestsMark Haines2014-10-131-3/+7
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-131-7/+45
* Replace on_send_callback with something a bit clearer so that we can sign mes...Mark Haines2014-10-131-11/+35
* Fix pyflakes errorsMark Haines2014-10-021-8/+2
* Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ...Mark Haines2014-10-021-8/+1
* Split PlainHttpClient into separate clients for talking to Identity servers a...Mark Haines2014-10-021-144/+146
* remove "red", "blue" and "green" server_name mappingsMark Haines2014-10-011-7/+0
* Fix 'age' key to update on retriesErik Johnston2014-09-151-3/+10
* Captchas now work on registration. Missing x-forwarded-for config arg support...Kegan Dougal2014-09-051-1/+27
* Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2014-09-031-4/+22
|\
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
| * Make retrying requests on DNS failures configurable, and turn off retrying on...Kegan Dougal2014-09-031-6/+19
| * hs: Updated synapse.http.client to handle DNSLookupErrors and bail immediately.Kegan Dougal2014-09-031-1/+6
* | Add support for registering with a threepid to the HS (get credentials from t...David Baker2014-09-031-5/+35
|/
* Fix SSL for federation http clientMark Haines2014-09-011-1/+1
* Enable SSL for s2s http clientMark Haines2014-09-011-2/+6
* fix http client GET parameters; somehow missing named param. how could this h...Matthew Hodgson2014-08-141-2/+2
* Update get_json()'s documentation to match the actual observed behaviourPaul "LeoNerd" Evans2014-08-131-4/+3
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
* Reference Matrix Home Servermatrix.org2014-08-121-0/+246