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

first HEAD request is not handled properly #73

Closed
prymitive opened this issue Dec 5, 2012 · 1 comment
Closed

first HEAD request is not handled properly #73

prymitive opened this issue Dec 5, 2012 · 1 comment

Comments

@prymitive
Copy link
Contributor

  • I start my vassal and subscribe it to FastRouter
  • I do HEAD request to my app (this will be the first request after app startup)
  • app gets GET instead of HEAD
  • every request after the first one works fine, app gets HEAD request

I've noticed this because I allow only GET and POST in my app, so HEAD should return 405.

~$ curl -I http://myapp.com/login
HTTP/1.1 200 OK
[...]

~$ curl -I http://myapp.com/login
HTTP/1.1 405 METHOD NOT ALLOWED
[...]
@prymitive
Copy link
Contributor Author

Sorry, I forgot I have varnish in front. When I bypass it I don't have this issue, so it must be my varnish config.
Closing as invalid

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