diff options
author | Matthew Hodgson <matthew@matrix.org> | 2015-02-07 12:56:21 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2015-02-07 12:56:21 +0000 |
commit | e117bc3fc582520e7d7adb86015ad814195cd286 (patch) | |
tree | a8fafeac40e471e3f95fecfd532fe84830f79fc3 /synapse/rest/media | |
parent | i hate weakly typed languages (diff) | |
download | synapse-e117bc3fc582520e7d7adb86015ad814195cd286.tar.xz |
thou shalt specify a content-length
Diffstat (limited to 'synapse/rest/media')
-rw-r--r-- | synapse/rest/media/v1/media_repository.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/media/v1/media_repository.py b/synapse/rest/media/v1/media_repository.py index 61ed90f39f..9ca4d884dd 100644 --- a/synapse/rest/media/v1/media_repository.py +++ b/synapse/rest/media/v1/media_repository.py @@ -34,6 +34,7 @@ class MediaRepositoryResource(Resource): => POST /_matrix/media/v1/upload HTTP/1.1 Content-Type: <media-type> + Content-Length: <content-length> <media> |