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. |
||
|---|---|---|
| .. | ||
| federation | ||
| __init__.py | ||
| additional_resource.py | ||
| client.py | ||
| connectproxyclient.py | ||
| matrixfederationclient.py | ||
| proxyagent.py | ||
| request_metrics.py | ||
| server.py | ||
| servlet.py | ||
| site.py | ||