Commit Graph

106 Commits (084afbb6a06f2661bed503bf49b0291ce999c6c1)

Author SHA1 Message Date
Richard van der Hoff 173567a7f2 Docstring for post_urlencoded_get_json 7 years ago
Richard van der Hoff 0d8e3ad48b Fix logcontext leaks in httpclient 7 years ago
Richard van der Hoff 12ef02dc3d SimpleHTTPClient: add support for headers 7 years ago
Kegan Dougal d0debb2116 Remember how twisted works 8 years ago
Kegan Dougal c2ddd773bc Include the clock 8 years ago
Kegan Dougal 7dd3bf5e24 Rewrite SimpleHttpClient.request to include timeouts 8 years ago
David Baker 482a2ad122 No need for the exception variable 8 years ago
David Baker c0380402bc List caught expection types 8 years ago
David Baker 5fd12dce01 Remove debugging 8 years ago
David Baker c366276056 Fix get_json 8 years ago
David Baker 1a9255c12e Use CodeMessageException subclass instead 8 years ago
David Baker a46982cee9 Need the HTTP status code 8 years ago
David Baker 70caf49914 Do the same for get_json 8 years ago
David Baker a1595cec78 Don't error for 3xx responses 8 years ago
David Baker a90a0f5c8a Propagate errors sensibly from proxied IS requests 8 years ago
Johannes Löthberg 0648e76979 Remove spurious newline 8 years ago
Johannes Löthberg d3bd94805f Fixup for #1689 and #1690 8 years ago
Glyph 6e18805ac2 IPv6 support for client.py 8 years ago
Richard van der Hoff 255c229f23 Work around TLS bug in twisted 9 years ago
Mark Haines eb79110beb Clean up the blacklist/whitelist handling. 9 years ago
Matthew Hodgson 792def4928 add a url_preview_ip_range_whitelist config param so we can whitelist the matrix.org IP space 9 years ago
Erik Johnston f505575f69 Make InsecureInterceptableContextFactory work with SpiderEndpoint 9 years ago
Matthew Hodgson 83b2f83da0 actually throw meaningful errors 9 years ago
Matthew Hodgson dafef5a688 Add url_preview_enabled config option to turn on/off preview_url endpoint. defaults to off. 9 years ago
Matthew Hodgson 8b98a7e8c3 pep8 9 years ago
Matthew Hodgson 7426c86eb8 add a persistent cache of URL lookups, and fix up the in-memory one to work 9 years ago
Matthew Hodgson d1b154a10f support gzip compression, and don't pass through error msgs 9 years ago
Matthew Hodgson 683e564815 handle spidered relative images correctly 9 years ago
Matthew Hodgson 0d3d7de6fc sync in changes from matrixfederationclient 9 years ago
Matthew Hodgson a8a5dd3b44 handle requests with missing content-length headers (e.g. YouTube) 9 years ago
Matthew Hodgson 721b2bfa85 implement redirects 9 years ago
Matthew Hodgson 64b4aead15 make it work 9 years ago
Matthew Hodgson dd4287ca5d make it build 9 years ago
David Baker 9a3c80a348 pep8 9 years ago
David Baker 7bcee4733a Encode unicode objects given to post_urlencode* otherwise urllib.urlencode chokes. 9 years ago
Matthew Hodgson 7dd0c1730a initial WIP of a tentative preview_url endpoint - incomplete, untested, experimental, etc. just putting it here for safekeeping for now 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall b8dd5b1a2d Verify third party ID server certificates 9 years ago
Erik Johnston a80ef851f7 Fix previous merge to s/version_string/user_agent/ 9 years ago
Steven Hammerton 625e13bfde Add get_raw method to SimpleHttpClient, use this in CAS auth rather than requests 9 years ago
Daniel Wagner-Hall 492beb62a8 Use space not dash as delimiter 9 years ago
Daniel Wagner-Hall e0b466bcfd Use space not dash as delimiter 9 years ago
Daniel Wagner-Hall b28c7da0a4 Preserve version string in user agent 9 years ago
Daniel Wagner-Hall 8fc52bc56a Allow synapse's useragent to be customized 9 years ago
Daniel Wagner-Hall 3bcbabc9fb Rename context factory 9 years ago
Daniel Wagner-Hall 6485f03d91 Fix random formatting 9 years ago
Daniel Wagner-Hall 81a93ddcc8 Allow configuration to ignore invalid SSL certs 9 years ago
Mark Haines 78323ccdb3 Remove syutil dependency in favour of smaller single-purpose libraries 9 years ago
Erik Johnston 653533a3da Fix log context when sending requests 10 years ago
Erik Johnston 83f119a84a Log requests and responses sent via http.client 10 years ago