synapse-product/synapse/rest/media/v1
Aaron Raimist cd9e72b185
Add X-Robots-Tag header to stop crawlers from indexing media (#8887)
Fixes / related to: https://github.com/matrix-org/synapse/issues/6533

This should do essentially the same thing as a robots.txt file telling robots to not index the media repo. https://developers.google.com/search/reference/robots_meta_tag

Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-12-08 22:51:03 +00:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Add X-Robots-Tag header to stop crawlers from indexing media (#8887) 2020-12-08 22:51:03 +00:00
config_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
download_resource.py Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
filepath.py Add an admin api to delete local media. (#8519) 2020-10-26 17:02:28 +00:00
media_repository.py Apply an IP range blacklist to push and key revocation requests. (#8821) 2020-12-02 11:09:24 -05:00
media_storage.py Fix race for concurrent downloads of remote media. (#8682) 2020-10-30 10:55:24 +00:00
preview_url_resource.py Do not raise a 500 exception when previewing empty media. (#8883) 2020-12-07 10:00:08 -05:00
storage_provider.py Fix async/await calls for broken media providers. (#8027) 2020-08-04 09:44:25 -04:00
thumbnail_resource.py Do not error when thumbnailing invalid files (#8236) 2020-09-09 12:59:41 -04:00
thumbnailer.py Fix typos in comments. 2020-09-14 11:46:58 -04:00
upload_resource.py Do not 500 if the content-length is not provided when uploading media. (#8862) 2020-12-04 10:26:09 -05:00