qutebrowser-extensions icon indicating copy to clipboard operation
qutebrowser-extensions copied to clipboard

interceptor API: Error handling

Open The-Compiler opened this issue 5 years ago • 0 comments

If a request type doesn't support redirections, we fail with: qutebrowser.extensions.interceptors.RedirectFailedException: Request method does not support redirection.

However, the exception type is not exposed via the API. Also, there should probably be something like info.redirect(url, only_supported=True) which automatically silences those errors.

The-Compiler avatar Dec 19 '20 21:12 The-Compiler