Skip to content

Image URL detection #3054

@hlky

Description

@hlky

is_image_url relies on a filename and extension being present, however, in some cases an image URL does not contain a filename. Example dataset and example URL. This could be improved by checking the content-type header of the response or checking for strings like "image" in the URL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions