Skip to content

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

Closed
@writercoder

Description

@writercoder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions