Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Increasing amount of supported http methods #6

@Archivelit

Description

@Archivelit

Motivation

The current version of LiteHttp supports only limited set of methods.
Adding more methods improves standards compliance and allows developers to handle more scenarios correctly, enhancing overall experience.

Notes

You can use MDN HTTP request methods documentation to add new ones.
You may refer to the existing examples.

Tasks

  • Extend the RequestMethods class with method string constants.
  • Add constants representation in RequestMethodsAsBytes class. The file with RequestMethodsAsBytes class location is src/Server/Core/Constants/src/LiteHttp/Constants/StringsAsByteArrays.cs.
  • Extend IServer interface with new MapMethod methods and add documentation.
  • Implement missing members in HttpServer and InternalServer.
  • Write few tests for the new functionality (1-2 common cases are enough).
  • Ensure your update does not contain breaking changes.
  • Ensure code passes all tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions