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

all HEAD requests get 404ed? #548

Closed
snarfed opened this issue Nov 1, 2014 · 2 comments
Closed

all HEAD requests get 404ed? #548

snarfed opened this issue Nov 1, 2014 · 2 comments

Comments

@snarfed
Copy link

snarfed commented Nov 1, 2014

...seems surprising, but that's what i'm seeing, on both self-hosted and withknown.com installs.

cc @alexhartley (but won't fix bridgy for you)

hell:~> curl -i -I http://stream.withknown.com/2014/davebriggs-no-thats-going-to-be-totally-fine
HTTP/1.0 404 Not Found
Date: Sat, 01 Nov 2014 21:34:26 GMT
Server: Apache
Set-Cookie: knownstream=r2ecivn4fo6dups26vs3sd89g6; expires=Mon, 01-Dec-2014 21:34:26 GMT; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: knownstream=h6b8si0sfel0m8cqg20pognb55; expires=Mon, 01-Dec-2014 21:34:26 GMT; path=/; HttpOnly
X-Powered-By: http://withknown.com
Link: <http://stream.withknown.com/webmention/>; rel="webmention"
Access-Control-Allow-Origin: *
Vary: Accept-Encoding
Content-Type: text/html;charset=utf-8
Connection: keep-alive

hell:~> curl -i -I http://known.kevinmarks.com/2014/robertwrighter-pmarca-harrymccracken-people-do-that-by-writing-a-longer
HTTP/1.1 404 Not Found
Access-Control-Allow-Origin: *
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Type: text/html; charset=UTF-8
Date: Sat, 01 Nov 2014 21:34:32 GMT
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Link: <http://known.kevinmarks.com/webmention/>; rel="webmention"
Pragma: no-cache
Server: Apache
Set-Cookie: known=vjjectjpc9fkbln168m5qn7pn3; expires=Mon, 01-Dec-2014 21:34:32 GMT; Max-Age=2592000; path=/; HttpOnly
Set-Cookie: known=mrjdn36m4u6dpn9d35ndjj1hp7; expires=Mon, 01-Dec-2014 21:34:32 GMT; Max-Age=2592000; path=/; HttpOnly
Connection: keep-alive
@benwerd
Copy link
Member

benwerd commented Nov 1, 2014

Oh, fascinating. Will be experimenting with this this afternoon. Thanks for the find!

@mapkyca
Copy link
Member

mapkyca commented Nov 2, 2014

Yeah, I noticed this a while ago but forgot to mention it. It's because the Page object doesn't have a handler for the head method, so toro is puking and firing the 404 hook in Toro.php:70

@benwerd benwerd closed this as completed in 6cc86f8 Nov 2, 2014
benwerd added a commit that referenced this issue Nov 2, 2014
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

3 participants