Data Structures | |
struct | _AUTHINFO |
HTTP authorization information structure. More... | |
struct | _CGIFUNCTION |
Registered CGI function. More... | |
struct | _REQUEST |
HTTP request information structure. More... | |
Defines | |
#define | METHOD_GET |
#define | METHOD_POST |
#define | METHOD_HEAD |
Typedefs | |
typedef struct _REQUEST | REQUEST |
typedef struct _AUTHINFO | AUTHINFO |
typedef struct _CGIFUNCTION | CGIFUNCTION |
Functions | |
void | NutHttpProcessRequest (NUTDEVICE *sostream) |
Process the next HTTP request. More... | |
void | NutHttpSendHeaderTop (NUTDEVICE *sostream, REQUEST *req, int status, char *title) |
Send top lines of a standard HTML header. More... | |
void | NutHttpSendHeaderBot (NUTDEVICE *sostream, char *mime_type, int bytes) |
Send bottom lines of a standard HTML header. More... | |
void | NutHttpSendError (NUTDEVICE *sostream, REQUEST *req, int status) |
Send a HTTP error response. More... | |
char* | NutGetMimeType (char *name) |
Return the mime type description of a specified file name. More... | |
int | NutHttpAuthValidate (REQUEST *req) |
Validate an authorization request. More... | |
int | NutRegisterAuth (const char *dirname, const char *login) |
Register an authorization entry. More... | |
int | NutRegisterCgi (char *name, int(*func)(NUTDEVICE *, REQUEST *)) |
Register a CGI function. More... | |
void | NutCgiProcessRequest (NUTDEVICE *sostream, REQUEST *req) |
Process an incoming CGI request. More... |