diff options
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ static inline int verbose(const char * format, ...) { | |||
73 | typedef struct { | 73 | typedef struct { |
74 | int newline_length; // lenght of one newline in bytes (\n has 1, CR/LF has 2) | 74 | int newline_length; // lenght of one newline in bytes (\n has 1, CR/LF has 2) |
75 | char * method; // GET/POST or something like that | 75 | char * method; // GET/POST or something like that |
76 | char * protocol; // mostly HTTP/1.0 or HTTP/1.1 | ||
76 | char * url; // request URL (e.g. /index.html) | 77 | char * url; // request URL (e.g. /index.html) |
77 | char * boundary; // usually looks similar to ------1234 | 78 | char * boundary; // usually looks similar to ------1234 |
78 | size_t boundary_size; // size in bytes, calculated after first header complete; is an indicator for the first header | 79 | size_t boundary_size; // size in bytes, calculated after first header complete; is an indicator for the first header |