synapse-old/synapse/http
Richard van der Hoff 1bbc9e2df6
Clean up exception handling in SAML2ResponseResource (#7614)
* Expose `return_html_error`, and allow it to take a Jinja2 template instead of a raw string

* Clean up exception handling in SAML2ResponseResource

  * use the existing code in `return_html_error` instead of re-implementing it
    (giving it a jinja2 template rather than inventing a new form of template)

  * do the exception-catching in the REST layer rather than in the handler
    layer, to make sure we catch all exceptions.
2020-06-03 10:41:12 +01:00
..
federation Share SSL contexts for non-federation requests (#7094) 2020-03-17 21:32:25 +00:00
__init__.py Replace client_secret with <redacted> in server logs (#6158) 2019-10-03 12:57:26 +01:00
additional_resource.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
client.py Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
connectproxyclient.py Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
endpoint.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
matrixfederationclient.py Fix exception reporting due to HTTP request errors. (#7556) 2020-05-22 11:39:20 +01:00
proxyagent.py Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
request_metrics.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
server.py Clean up exception handling in SAML2ResponseResource (#7614) 2020-06-03 10:41:12 +01:00
servlet.py Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
site.py mypy for synapse.http.site (#7553) 2020-05-22 10:12:17 +01:00