Embedded TCP/IP stack  4.7.0

◆ fnet_http_srv_status_code_t

HTTP/1.0 Status-Code definitions according to RFC1945.

Can be used by inside CGI and POST handlers: fnet_http_srv_cgi_handle_t(), fnet_http_srv_post_handle_t() and fnet_http_srv_post_receive_t() call-back functions.

See also
fnet_http_srv_cgi_handle_t(), fnet_http_srv_post_handle_t(), fnet_http_srv_post_receive_t()
Enumerator
FNET_HTTP_SRV_STATUS_CODE_NONE 

NONE.
Status code is not defined.

FNET_HTTP_SRV_STATUS_CODE_OK 

OK.
The request has succeeded.

FNET_HTTP_SRV_STATUS_CODE_CREATED 

Created.
The request has been fulfilled and resulted in a new resource being created.

FNET_HTTP_SRV_STATUS_CODE_ACCEPTED 

Accepted.
The request has been accepted for processing, but the processing has not been completed.

FNET_HTTP_SRV_STATUS_CODE_NO_CONTENT 

No Content.
The server has fulfilled the request but there is no new information to send back.

FNET_HTTP_SRV_STATUS_CODE_MOVED_PERMANENTLY 

Moved Permanently.
The requested resource has been assigned a new permanent URL and any future references to this resource should be done using that URL.
It's not supported by the FNET HTTP Server.

FNET_HTTP_SRV_STATUS_CODE_MOVED_TEMPORARILY 

Moved Temporarily.
The requested resource resides temporarily under a different URL.
It's not supported by the FNET HTTP Server.

FNET_HTTP_SRV_STATUS_CODE_NOT_MODIFIED 

Not Modified.
If the client has performed a conditional GET request and access is allowed, but the document has not been modified since the date and time specified in the If-Modified-Since field, the server must respond with this status code and not send an Entity-Body to the client.
It's not supported by the FNET HTTP Server.

FNET_HTTP_SRV_STATUS_CODE_BAD_REQUEST 

Bad Request.
The request could not be understood by the server due to malformed syntax.

FNET_HTTP_SRV_STATUS_CODE_UNAUTHORIZED 

Unauthorized.
The request requires user authentication.

FNET_HTTP_SRV_STATUS_CODE_FORBIDDEN 

Forbidden.
The server understood the request, but is refusing to fulfill it.

FNET_HTTP_SRV_STATUS_CODE_NOT_FOUND 

Not Found.
The server has not found anything matching the Request-URI.

FNET_HTTP_SRV_STATUS_CODE_INTERNAL_SERVER_ERROR 

Internal Server Error.
The server encountered an unexpected condition which prevented it from fulfilling the request.

FNET_HTTP_SRV_STATUS_CODE_NOT_IMPLEMENTED 

Not Implemented.
The server does not support the functionality required to fulfill the request.

FNET_HTTP_SRV_STATUS_CODE_BAD_GATEWAY 

Bad Gateway.
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

FNET_HTTP_SRV_STATUS_CODE_SERVICE_UNAVAILABLE 

Service Unavailable.
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

Definition at line 99 of file fnet_http_srv.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net