Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probing svg file that does not exist never return #81

Open
terchris opened this issue Jun 19, 2023 · 0 comments
Open

probing svg file that does not exist never return #81

terchris opened this issue Jun 19, 2023 · 0 comments

Comments

@terchris
Copy link

I have a situation where I probe a SVG file that does not exist.
The code below never timeout and just hang.

        const result = await probe(imageUrl, {
            open_timeout: 5000,
            response_timeout: 5000,
            read_timeout: 5000,
            follow_max: 10
        });

When opening the SVG file in the browser I get:
This page isn’t workingwww.senja-avfall.no redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

The SVG file I try to load is:
In the browser it redirects to: https://www.senja-avfall.no/no/404?id=65

PS
I know that probe-image-size does not support probing svg files. A bug in my code resulted in calling probe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant