TCPIP_HTTP_NET_STATUS Enumeration

C

typedef enum {
    TCPIP_HTTP_NET_STAT_GET = 0u,
    TCPIP_HTTP_NET_STAT_POST,
    TCPIP_HTTP_NET_STAT_BAD_REQUEST,
    TCPIP_HTTP_NET_STAT_UNAUTHORIZED,
    TCPIP_HTTP_NET_STAT_NOT_FOUND,
    TCPIP_HTTP_NET_STAT_OVERFLOW,
    TCPIP_HTTP_NET_STAT_INTERNAL_SERVER_ERROR,
    TCPIP_HTTP_NET_STAT_NOT_IMPLEMENTED,
    TCPIP_HTTP_NET_STAT_REDIRECT,
    TCPIP_HTTP_NET_STAT_TLS_REQUIRED,
    TCPIP_HTTP_NET_STAT_UPLOAD_FORM,
    TCPIP_HTTP_NET_STAT_UPLOAD_STARTED,
    TCPIP_HTTP_NET_STAT_UPLOAD_WRITE,
    TCPIP_HTTP_NET_STAT_UPLOAD_WRITE_WAIT,
    TCPIP_HTTP_NET_STAT_UPLOAD_OK,
    TCPIP_HTTP_NET_STAT_UPLOAD_ERROR
} TCPIP_HTTP_NET_STATUS;

Description

Supported commands and server response codes.

Members

MembersDescription
TCPIP_HTTP_NET_STAT_GET = 0uGET command is being processed.
TCPIP_HTTP_NET_STAT_POSTPOST command is being processed.
TCPIP_HTTP_NET_STAT_BAD_REQUEST400 Bad Request will be returned.
TCPIP_HTTP_NET_STAT_UNAUTHORIZED401 Unauthorized will be returned.
TCPIP_HTTP_NET_STAT_NOT_FOUND404 Not Found will be returned.
TCPIP_HTTP_NET_STAT_OVERFLOW414 Request-URI Too Long will be returned.
TCPIP_HTTP_NET_STAT_INTERNAL_SERVER_ERROR500 Internal Server Error will be returned.
TCPIP_HTTP_NET_STAT_NOT_IMPLEMENTED501 Not Implemented (not a GET or POST command).
TCPIP_HTTP_NET_STAT_REDIRECT302 Redirect will be returned.
TCPIP_HTTP_NET_STAT_TLS_REQUIRED403 Forbidden is returned, indicating TLS is required.
TCPIP_HTTP_NET_STAT_UPLOAD_FORMShow the upload form.
TCPIP_HTTP_NET_STAT_UPLOAD_STARTEDAn upload operation is being processed.
TCPIP_HTTP_NET_STAT_UPLOAD_WRITEAn upload operation is currently writing.
TCPIP_HTTP_NET_STAT_UPLOAD_WRITE_WAITAn upload operation is currently waiting for the write completion.
TCPIP_HTTP_NET_STAT_UPLOAD_OKAn upload was successful.
TCPIP_HTTP_NET_STAT_UPLOAD_ERRORAn upload was not a valid image.