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

Home page returns 404 for HEAD request #115

Open
1 task
ksclarke opened this issue Nov 16, 2018 · 0 comments
Open
1 task

Home page returns 404 for HEAD request #115

ksclarke opened this issue Nov 16, 2018 · 0 comments

Comments

@ksclarke
Copy link
Member

Problem:

A HEAD request doesn't return the same status code that a GET request would. For instance:

[root@ip-172-31-46-116 avuong]# curl -I https://sinai.library.ucla.edu
HTTP/1.1 404 Not Found

while

kevin@kevin-laptop:~/Workspace/sinai-web$ curl -X GET -i https://sinai.library.ucla.edu
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 7348

Acceptance:

  • HEAD request responds with same status code as GET request would
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