summary refs log tree commit diff
path: root/synapse/api/errors.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-02-02 00:35:18 +0000
committerRichard van der Hoff <richard@matrix.org>2018-02-02 00:53:46 +0000
commitd5352cbba80005fb226563211c9e7179edef2d65 (patch)
treec5e3d0a4fbde59bc1e557a19a23d554a8a66ede1 /synapse/api/errors.py
parentMerge pull request #2837 from matrix-org/rav/fix_quarantine_media (diff)
downloadsynapse-d5352cbba80005fb226563211c9e7179edef2d65.tar.xz
Handle url_previews with no content-type
avoid failing with an exception if the remote server doesn't give us a
Content-Type header.

Also, clean up the exception handling a bit.
Diffstat (limited to 'synapse/api/errors.py')
0 files changed, 0 insertions, 0 deletions