summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-09-08 07:17:52 -0400
committerGitHub <noreply@github.com>2021-09-08 07:17:52 -0400
commit580a15e039f47c2a0038754bba9d96883866a9f2 (patch)
tree0e6d081345a440d607658c6a15f5374661a5099c /synapse/api/constants.py
parentAdd some assertions about outliers (#10773) (diff)
downloadsynapse-580a15e039f47c2a0038754bba9d96883866a9f2.tar.xz
Request JSON for oEmbed requests (and ignore XML only providers). (#10759)
This adds the format to the request arguments / URL to
ensure that JSON data is returned (which is all that
Synapse supports).

This also adds additional error checking / filtering to the
configuration file to ignore XML-only providers.
Diffstat (limited to 'synapse/api/constants.py')
0 files changed, 0 insertions, 0 deletions