4 ms·
You test the URL with a HEAD method that often 404. You should try with GET instead.
by Clex 9y ago
You test the URL with a HEAD method that often 404. You should try with GET instead.
- hk__2 9y agoA server should respond with the same headers to a HEAD request as to a GET one.
- Daviey 9y agoSHOULD and DOES are not the same thing. Returning 405 'Method Not Allowed' on a HEAD isn't unreasonable, and that is the issue we are seeing. EDIT: did say GET on prior edit.
- tyingq 9y agoThey should, but many good sites just don't, for whatever reason. Even ones you know are run by smart people: $ curl -I -X HEAD https://redis.io/ HTTP/1.1 404 Not Found For this app, being more forgiving is a better idea.
- jaredsohn 9y agohttps://www.stumbleupon.com https://www.stumbleupon.com had a similar issue.
- deleted 9y ago[deleted]