WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
Define Constants and fucntions associated with HTTP protocol. More...
Go to the source code of this file.
Macros | |
#define | HTTP_SERVER_PORT 80 |
Http server well-known port number. | |
#define | METHOD_ERR 0 |
Error Method. More... | |
#define | METHOD_GET 1 |
GET Method. More... | |
#define | METHOD_HEAD 2 |
HEAD Method. More... | |
#define | METHOD_POST 3 |
POST Method. More... | |
#define | PTYPE_ERR 0 |
Error file. More... | |
#define | PTYPE_HTML 1 |
HTML file. More... | |
#define | PTYPE_GIF 2 |
GIF file. More... | |
#define | PTYPE_TEXT 3 |
TEXT file. More... | |
#define | PTYPE_JPEG 4 |
JPEG file. More... | |
#define | PTYPE_FLASH 5 |
FLASH file. More... | |
#define | PTYPE_MPEG 6 |
MPEG file. More... | |
#define | PTYPE_PDF 7 |
PDF file. More... | |
#define | PTYPE_CGI 8 |
CGI. | |
Functions | |
void | unescape_http_url (char *url) |
convert escape characters(XX) to ascii charater More... | |
void | parse_http_request (st_http_request *, char *) |
parse http request from a peer | |
void | find_http_uri_type (uint8 *, char *) |
find MIME type of a file | |
void | make_http_response_head (uint8 *, int8, uint32) |
make reponse header such as html, gif, jpeg,etc. | |
unsigned char * | get_http_param_value (char *uri, char *param_name) |
get next parameter value in the request | |
Define Constants and fucntions associated with HTTP protocol.
Definition in file httpd.h.