From 43d47575878e4eaf3c8da84bf609fcd0bde595fb Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 09 May 2005 11:00:28 +0000 Subject: 1. http headers container added 2. preliminary cookies support 3. absolutely useless http_quoted_string and http_quote utility functions added --- (limited to 'src/cgi_gateway.cc') diff --git a/src/cgi_gateway.cc b/src/cgi_gateway.cc index 30410f2..ab48f78 100644 --- a/src/cgi_gateway.cc +++ b/src/cgi_gateway.cc @@ -27,6 +27,10 @@ namespace kingate { } b_parsed_content = true; } + // Parse cookies + try { + cookies.parse_cookies(get_meta("HTTP_COOKIE")); + }catch(exception_notfound& enf) { } } bool cgi_gateway::has_GET(const string& n) const { -- cgit v0.9.0.2