Skip to content

Fallback to GET on top of HEAD in redirection_test #126

@donbowman

Description

@donbowman

Some websites don't implement HEAD, returning 500.
Here is an example: https://duquesnelight.com/

In redirection_test(), which is used for liveness check from trafiltura, this causes a 500 error to be returned.

I guess an alternative would be to allow 500 in the ACCEPTABLE_CODES

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions