5 ms·
A server should respond with the same headers to a HEAD request as to a GET one.
by hk__2 10y ago
A server should respond with the same headers to a HEAD request as to a GET one.
- Daviey 10y 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 10y 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 10y agohttps://www.stumbleupon.com https://www.stumbleupon.com had a similar issue.
- deleted 10y ago[deleted]