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.

HTTP server should allow custom methods #3192

Description

@aspyct

Hello,

While working with the "http" module, and specifically the http server, I noticed that the server closes the connection instantly if the client attempts to use a custom method (i.e. something else than GET, HEAD...).

I think we should allow custom methods for this server:

  1. it would allow to use node for specific requirements
  2. custom methods are allowed by the HTTP standard.
  3. I don't think a lot of work is required to allow this behavior.

On my side, I currently need to use custom methods. Is there any way I could allow a method of my own with your HTTP server without having to hack the code ?

Regards,

Antoine

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions