HTTP_STATUS Enumeration

C

typedef enum {
    HTTP_GET = 0u,
    HTTP_POST,
    HTTP_BAD_REQUEST,
    HTTP_UNAUTHORIZED,
    HTTP_NOT_FOUND,
    HTTP_OVERFLOW,
    HTTP_INTERNAL_SERVER_ERROR,
    HTTP_NOT_IMPLEMENTED,
    HTTP_REDIRECT,
    HTTP_SSL_REQUIRED,
    HTTP_MPFS_FORM,
    HTTP_MPFS_UP,
    HTTP_MPFS_SIGNATURE,
    HTTP_MPFS_OK,
    HTTP_MPFS_WAIT,
    HTTP_MPFS_ERROR
} HTTP_STATUS;

Description

Supported commands and server response codes.

Members

MembersDescription
HTTP_GET = 0uGET command is being processed.
HTTP_POSTPOST command is being processed.
HTTP_BAD_REQUEST400 Bad Request will be returned.
HTTP_UNAUTHORIZED401 Unauthorized will be returned.
HTTP_NOT_FOUND404 Not Found will be returned.
HTTP_OVERFLOW414 Request-URI Too Long will be returned.
HTTP_INTERNAL_SERVER_ERROR500 Internal Server Error will be returned.
HTTP_NOT_IMPLEMENTED501 Not Implemented (not a GET or POST command).
HTTP_REDIRECT302 Redirect will be returned.
HTTP_SSL_REQUIRED403 Forbidden is returned, indicating SSL is required.
HTTP_MPFS_FORMShow the MPFS Upload form.
HTTP_MPFS_UPAn MPFS Upload is being processed.
HTTP_MPFS_SIGNATUREMPFS Upload looking for signature.
HTTP_MPFS_OKAn MPFS Upload was successful.
HTTP_MPFS_WAITAn MPFS Upload waiting for the write operation to complete.
HTTP_MPFS_ERRORAn MPFS Upload was not a valid image.