MatrixSynapse/synapse/rest/media/v1
Krombel 32fd6910d0 Use parse_{int,str} and assert from http.servlet
parse_integer and parse_string can take a request and raise errors
in case we have wrong or missing params.
This PR tries to use them more to deduplicate some code and make it
better readable
2018-07-13 21:40:14 +02: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 Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02:00
media_repository.py run isort 2018-07-09 16:09:20 +10:00
media_storage.py run isort 2018-07-09 16:09:20 +10:00
preview_url_resource.py Use parse_{int,str} and assert from http.servlet 2018-07-13 21:40:14 +02: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