synapse-product/tests/http
Patrick Cloke 8ec2217103
Reduce the memory usage of previewing media files. ()
This reduces the memory usage of previewing media files which
end up larger than the `max_spider_size` by avoiding buffering
content internally in treq.

It also checks the `Content-Length` header in additional places
instead of streaming the content to check the body length.
2021-02-18 09:01:29 -05:00
..
federation Update black, and run auto formatting over the codebase () 2021-02-16 22:32:34 +00:00
__init__.py Use TLSv1.2 for fake servers in tests () 2020-09-10 19:49:08 +01:00
ca.crt Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
ca.key Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
server.key Tests for SSL certs for federation connections 2019-06-10 16:14:20 +01:00
test_additional_resource.py Remove spurious "SynapseRequest" result from `make_request" 2020-12-15 22:35:40 +00:00
test_client.py Reduce the memory usage of previewing media files. () 2021-02-18 09:01:29 -05:00
test_endpoint.py Support icons for Identity Providers () 2021-01-20 08:15:14 -05:00
test_fedclient.py Handle bad JSON data being returned from the federation API. () 2021-01-12 11:07:01 -05:00
test_proxyagent.py Don't apply the IP range blacklist to proxy connections () 2021-01-12 12:20:30 -05:00
test_servlet.py Fix the exception that is raised when invalid JSON is encountered. () 2020-09-10 14:55:25 -04:00
test_simple_client.py Fix handling of connection timeouts in outgoing http requests () 2020-09-29 10:29:21 +01:00