摘要:
#include #include "mime.h"static STR_MIME_MAP mime_map[]= { MIME_MAP(MIME_STR_GEN) };void get_mime_type(const char* filename, EN_MIME_TYPE* filetype){ int i =0; for(i=0; i MIME_ELSE || filetype < 0) return NULL; return mime_map[filetype].mimetype;}#ifndef __MIME__H#defi... 阅读全文
摘要:
#include #include #include #include #include #include #include "mime.h"#include "http_common.h"#include "http_webapp.h"static STR_STATUS_MAP resp_map[]={HTTP_STATUS_MAP(HTTP_MAP_GEN)};/*------------------------------------------------------------------------------------ 阅读全文
摘要:
/**************************************************************** filename: http_server.c author: xxxx function: Main file of http server Impliment the response of Get and Post mehtods history: created by xxxx date: 2014.01.03 **********... 阅读全文