Skip to content

W3C.pm line 223 does not view a redirect as a success #3

@TomasDawe

Description

@TomasDawe

The default URL for string validation is currently under a 302 rule.
According to LWP this is not a is_success.
it might be wise to change 223 to
if(index($response->{_content},"Status: 30") > -1 || $response->is_success)
as this will take into account redirects.

I am hesitant to hard code the 302 URL as this will likely be removed at some point.
Opinion?

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