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
Members | Description |
---|---|
TCPIP_HTTP_NET_STAT_GET = 0u | GET command is being processed. |
TCPIP_HTTP_NET_STAT_POST | POST command is being processed. |
TCPIP_HTTP_NET_STAT_BAD_REQUEST | 400 Bad Request will be returned. |
TCPIP_HTTP_NET_STAT_UNAUTHORIZED | 401 Unauthorized will be returned. |
TCPIP_HTTP_NET_STAT_NOT_FOUND | 404 Not Found will be returned. |
TCPIP_HTTP_NET_STAT_OVERFLOW | 414 Request-URI Too Long will be returned. |
TCPIP_HTTP_NET_STAT_INTERNAL_SERVER_ERROR | 500 Internal Server Error will be returned. |
TCPIP_HTTP_NET_STAT_NOT_IMPLEMENTED | 501 Not Implemented (not a GET or POST command). |
TCPIP_HTTP_NET_STAT_REDIRECT | 302 Redirect will be returned. |
TCPIP_HTTP_NET_STAT_TLS_REQUIRED | 403 Forbidden is returned, indicating TLS is required. |
TCPIP_HTTP_NET_STAT_UPLOAD_FORM | Show the upload form. |
TCPIP_HTTP_NET_STAT_UPLOAD_STARTED | An upload operation is being processed. |
TCPIP_HTTP_NET_STAT_UPLOAD_WRITE | An upload operation is currently writing. |
TCPIP_HTTP_NET_STAT_UPLOAD_WRITE_WAIT | An upload operation is currently waiting for the write completion. |
TCPIP_HTTP_NET_STAT_UPLOAD_OK | An upload was successful. |
TCPIP_HTTP_NET_STAT_UPLOAD_ERROR | An upload was not a valid image. |