synapse/synapse/media
Erik Johnston 993644ded0
Fix zero length media handling (#17570)
Results in:

```
AssertionError: null
  File "synapse/http/server.py", line 332, in _async_render_wrapper
    callback_return = await self._async_render(request)
  File "synapse/http/server.py", line 544, in _async_render
    callback_return = await raw_callback_return
  File "synapse/federation/transport/server/_base.py", line 369, in new_func
    response = await func(
  File "synapse/federation/transport/server/federation.py", line 826, in on_GET
    await self.media_repo.get_local_media(
  File "synapse/media/media_repository.py", line 473, in get_local_media
    await respond_with_multipart_responder(
  File "synapse/media/_base.py", line 353, in respond_with_multipart_responder
    assert content_length is not None
```
2024-08-19 15:06:44 +01:00
..
_base.py Fix 'Producer was not unregistered' error (#17569) 2024-08-14 13:46:22 +01:00
filepath.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
media_repository.py Prepare for authenticated media freeze (#17433) 2024-07-22 10:33:17 +01:00
media_storage.py Fix zero length media handling (#17570) 2024-08-19 15:06:44 +01:00
oembed.py Bump lxml-stubs from 0.4.0 to 0.5.1 (#16885) 2024-02-06 09:29:17 +00:00
preview_html.py Bump lxml-stubs from 0.4.0 to 0.5.1 (#16885) 2024-02-06 09:29:17 +00:00
storage_provider.py Use a larger, dedicated threadpool for media sending (#17564) 2024-08-13 17:59:47 +01:00
thumbnailer.py Use a larger, dedicated threadpool for media sending (#17564) 2024-08-13 17:59:47 +01:00
url_previewer.py Fix slipped logging context when media rejected (#17239) 2024-05-29 11:14:42 +01:00