Jump to main content

##

# 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

Members | Description
--- | ---
HTTP_GET = 0u | GET command is being processed.
HTTP_POST | POST command is being processed.
HTTP_BAD_REQUEST | 400 Bad Request will be returned.
HTTP_UNAUTHORIZED | 401 Unauthorized will be returned.
HTTP_NOT_FOUND | 404 Not Found will be returned.
HTTP_OVERFLOW | 414 Request-URI Too Long will be returned.
HTTP_INTERNAL_SERVER_ERROR | 500 Internal Server Error will be returned.
HTTP_NOT_IMPLEMENTED | 501 Not Implemented (not a GET or POST command).
HTTP_REDIRECT | 302 Redirect will be returned.
HTTP_SSL_REQUIRED | 403 Forbidden is returned, indicating SSL is required.
HTTP_MPFS_FORM | Show the MPFS Upload form.
HTTP_MPFS_UP | An MPFS Upload is being processed.
HTTP_MPFS_SIGNATURE | MPFS Upload looking for signature.
HTTP_MPFS_OK | An MPFS Upload was successful.
HTTP_MPFS_WAIT | An MPFS Upload waiting for the write operation to complete.
HTTP_MPFS_ERROR | An MPFS Upload was not a valid image.