diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-02-02 00:35:18 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-02-02 00:53:46 +0000 |
commit | d5352cbba80005fb226563211c9e7179edef2d65 (patch) | |
tree | c5e3d0a4fbde59bc1e557a19a23d554a8a66ede1 /synapse/server.pyi | |
parent | Merge pull request #2837 from matrix-org/rav/fix_quarantine_media (diff) | |
download | synapse-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/server.pyi')
0 files changed, 0 insertions, 0 deletions