[config] opts for http header parsing strictness (fixes #551, fixes #1086, fixes...
[lighttpd.git] / src / request.h
bloba3aeccdf72240d37af5e348c5b48e8dd84779d76
1 #ifndef _REQUEST_H_
2 #define _REQUEST_H_
3 #include "first.h"
5 #include "server.h"
7 typedef enum {
8 HTTP_PARSEOPT_HEADER_STRICT = 1
9 ,HTTP_PARSEOPT_HOST_STRICT = 2
10 ,HTTP_PARSEOPT_HOST_NORMALIZE = 4
11 } http_parseopts_e;
13 int http_request_parse(server *srv, connection *con);
14 int http_request_header_finished(server *srv, connection *con);
15 int http_request_host_normalize(buffer *b);
17 #endif