Skip to content

Consider supporting groupings by category #110

Description

@slifty

The RFC clusters status codes as:

  • Informational
  • Successful
  • Redirection
  • Client Error
  • Server Error

There is semantic value in these groupings! It would be great if this library would expose the status codes in that structure as well, for users who would prefer the semantic explicitness in their code. For instance this might mean a line like HttpStatus.Successful.NO_CONTENT or HttpStatus.ClientError.FORBIDDEN.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions