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

Error serving static files when a head request is made #557

Closed
writercoder opened this issue Oct 4, 2011 · 2 comments
Closed

Error serving static files when a head request is made #557

writercoder opened this issue Oct 4, 2011 · 2 comments
Labels
bug Something isn't working

Comments

@writercoder
Copy link

When a head request is made to static files served by socket.io the following error is written to the server console:

debug - served static /socket.io.js
This type of response MUST NOT have a body. Ignoring data passed to end().

This generates an annoying quantity of console output when developing using live.js (http://livejs.com/) as live.js uses head request polling to determine if static file changes have been made.

@3rd-Eden
Copy link
Contributor

3rd-Eden commented Oct 7, 2011

Marked as bug, as I don't think the new static backend takes this in to account.

@3rd-Eden
Copy link
Contributor

Fix and test case landed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants