You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a method/path pair is unknown, aiohttp simply sends a response which body is a text representation of the error (e.g. 405: Method Not Allowed). It does so by falling back onto default handlers that raise an HTTPException. We can write a very simple middleware that catches those and turns them into response with Matrix-compatible error bodies.
The text was updated successfully, but these errors were encountered:
If a method/path pair is unknown, aiohttp simply sends a response which body is a text representation of the error (e.g.
405: Method Not Allowed
). It does so by falling back onto default handlers that raise anHTTPException
. We can write a very simple middleware that catches those and turns them into response with Matrix-compatible error bodies.The text was updated successfully, but these errors were encountered: