synapse-product/synapse/rest/media/v1
Richard van der Hoff 018d75a148 Refactor code for turning HttpResponseException into SynapseError
This commit replaces SynapseError.from_http_response_exception with
HttpResponseException.to_synapse_error.

The new method actually returns a ProxiedRequestError, which allows us to pass
through additional metadata from the API call.
2018-08-01 16:02:46 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py run isort 2018-07-09 16:09:20 +10:00
download_resource.py run isort 2018-07-09 16:09:20 +10:00
filepath.py run isort 2018-07-09 16:09:20 +10:00
identicon_resource.py check isort by travis 2018-07-16 13:57:33 +02:00
media_repository.py Refactor code for turning HttpResponseException into SynapseError 2018-08-01 16:02:46 +01:00
media_storage.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
preview_url_resource.py Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
storage_provider.py run isort 2018-07-09 16:09:20 +10:00
thumbnail_resource.py run isort 2018-07-09 16:09:20 +10:00
thumbnailer.py run isort 2018-07-09 16:09:20 +10:00
upload_resource.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00