synapse/tests/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 Add unit tests 2018-01-18 16:32:11 +00:00
test_base.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_media_storage.py Add X-Robots-Tag header to stop crawlers from indexing media (#8887) 2020-12-08 22:51:03 +00:00
test_url_preview.py remove unused FakeResponse (#8864) 2020-12-02 18:58:25 +00:00