You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
345 B
23 lines
345 B
#ifndef __HTTP_REQUEST_H__
|
|
#define __HTTP_REQUEST_H__
|
|
|
|
#include "cclass.h"
|
|
|
|
CLASS(HTTP_REQUEST) {
|
|
char * http_version;
|
|
char * uri;
|
|
char * method;
|
|
|
|
struct {
|
|
char * name;
|
|
char * value;
|
|
} header[128];
|
|
|
|
char * body;
|
|
|
|
unsigned char done;
|
|
};
|
|
|
|
#endif /* __HTTP_REQUEST_H__ */
|
|
|
|
// vim: set ts=4 sw=4:
|