diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-08 07:17:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 07:17:52 -0400 |
commit | 580a15e039f47c2a0038754bba9d96883866a9f2 (patch) | |
tree | 0e6d081345a440d607658c6a15f5374661a5099c /synapse/api/constants.py | |
parent | Add some assertions about outliers (#10773) (diff) | |
download | synapse-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