Skip to content

gracefully handle redirects #28

@karenetheridge

Description

@karenetheridge

A response may return a 303 redirect, which can be followed automatically in Test::Mojo. In this case we still want to validate all the requests and responses in the redirect cycle, and we need to keep track of request/response pairs (otherwise the response to the redirect won't match the original request, resulting in validation errors when performing path lookup in OpenAPI::Modern).

We store some values corresponding to the request and response in the stash; this may all work out cleanly already, but we should at least test for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions