MCP Server Framework - v1.0.0
    Preparing search index...

    Variable HttpStatusConst

    HttpStatus: {
        ACCEPTED: 202;
        BAD_GATEWAY: 502;
        BAD_REQUEST: 400;
        CLIENT_CLOSED_REQUEST: 499;
        CONFLICT: 409;
        FORBIDDEN: 403;
        GATEWAY_TIMEOUT: 504;
        INTERNAL_SERVER_ERROR: 500;
        METHOD_NOT_ALLOWED: 405;
        NO_CONTENT: 204;
        NOT_FOUND: 404;
        NOT_IMPLEMENTED: 501;
        OK: 200;
        PRECONDITION_REQUIRED: 428;
        SERVICE_UNAVAILABLE: 503;
        TOO_MANY_REQUESTS: 429;
        UNAUTHORIZED: 401;
        UNSUPPORTED_MEDIA_TYPE: 415;
    } = ...

    HTTP Status Codes used in the transport layer.

    Following RFC 9110 and common conventions.

    Type Declaration

    • ReadonlyACCEPTED: 202

      Request accepted for processing

    • ReadonlyBAD_GATEWAY: 502

      Invalid response from upstream server

    • ReadonlyBAD_REQUEST: 400

      Malformed request syntax

    • ReadonlyCLIENT_CLOSED_REQUEST: 499

      Client Closed Request (nginx convention)

    • ReadonlyCONFLICT: 409

      Request could not be completed due to a conflict (RFC 9110)

    • ReadonlyFORBIDDEN: 403

      Access denied

    • ReadonlyGATEWAY_TIMEOUT: 504

      Upstream server timeout

    • ReadonlyINTERNAL_SERVER_ERROR: 500

      Internal server error

    • ReadonlyMETHOD_NOT_ALLOWED: 405

      HTTP method not allowed

    • ReadonlyNO_CONTENT: 204

      Request succeeded with no content to return

    • ReadonlyNOT_FOUND: 404

      Resource not found

    • ReadonlyNOT_IMPLEMENTED: 501

      Feature not implemented

    • ReadonlyOK: 200

      Request succeeded

    • ReadonlyPRECONDITION_REQUIRED: 428

      Precondition Required (RFC 6585)

    • ReadonlySERVICE_UNAVAILABLE: 503

      Service temporarily unavailable

    • ReadonlyTOO_MANY_REQUESTS: 429

      Too Many Requests (Rate Limiting - RFC 6585)

    • ReadonlyUNAUTHORIZED: 401

      Authentication required

    • ReadonlyUNSUPPORTED_MEDIA_TYPE: 415

      Media type not supported