Skip to content

[RFE] HTTP Status Code Literals #191

@pfeifferj

Description

@pfeifferj

Description

parts of the code use string literals "404", "401" instead of http.StatusNotFound, etc.

import "net/http"
case http.StatusNotFound: // instead of "404"

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions