--- parser3/src/include/pa_http.h 2009/07/03 07:30:04 1.5 +++ parser3/src/include/pa_http.h 2012/03/16 09:24:09 1.7 @@ -1,14 +1,14 @@ /** @file Parser: commonly used functions. - Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_HTTP_H #define PA_HTTP_H -static const char * const IDENT_HTTP_H="$Date: 2009/07/03 07:30:04 $"; +#define IDENT_PA_HTTP_H "$Id: pa_http.h,v 1.7 2012/03/16 09:24:09 moko Exp $" #include "pa_vstring.h" #include "pa_vint.h" @@ -38,6 +38,8 @@ struct File_read_http_result { }; #endif +char *pa_http_safe_header_name(const char *name); + File_read_http_result pa_internal_file_read_http(Request& r, const String& file_spec, bool as_text,