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.

Enhance LiteHttp with additional HTTP response codes #2

@Archivelit

Description

@Archivelit

Motivation

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

Notes

You can use MDN HTTP response status codes documentation to add new ones.

Tasks

  • Expand the ResponseCodes enum with additional HTTP status codes.
  • Update extensions related to ResponseCodes.
  • Add new constants to ResponseCodesAsBytes.
  • Write few tests for the new functionality (1-2 common cases are enough).

Recommended

Add response with specified response code to the ActionResultFactory, similar to existing ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions