--- parser3/src/include/pa_http.h 2012/06/20 20:54:25 1.8 +++ parser3/src/include/pa_http.h 2013/03/11 05:51:09 1.11 @@ -8,14 +8,16 @@ #ifndef PA_HTTP_H #define PA_HTTP_H -#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.8 2012/06/20 20:54:25 moko Exp $" +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.11 2013/03/11 05:51:09 misha Exp $" #include "pa_vstring.h" #include "pa_vint.h" #include "pa_vhash.h" #include "pa_vtable.h" #include "pa_socks.h" +#include "pa_request.h" +#define HTTP_COOKIES_NAME "cookies" #ifdef WIN32 #include @@ -35,6 +37,8 @@ struct File_read_http_result { }; #endif +Table* parse_cookies(Request& r, Table *cookies); + char *pa_http_safe_header_name(const char *name); File_read_http_result pa_internal_file_read_http(Request& r,