Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

LINK and UNLINK HTTP Methods are not-supported #6078

@jasnell

Description

@jasnell

Sending LINK and UNLINK requests to a node.js server causes the connection to be terminated due to an error in the way http_parser.c handles HTTP methods. Both LINK and UNLINK were defined as extensions to HTTP 1.0 and are included in the list of registered methods [1].

The lack of support for these two methods appears to be due to a larger issue with the way Node.js parses HTTP methods in general. See [2] for details and test cases.

[1] http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-12
[2] http://www.chmod777self.com/2013/08/sigh.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions