Skip to content

interceptor API: Error handling #25

@The-Compiler

Description

@The-Compiler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions