|
Boost-Commit : |
From: lists.drrngrvy_at_[hidden]
Date: 2007-08-15 23:36:36
Author: drrngrvy
Date: 2007-08-15 23:36:36 EDT (Wed, 15 Aug 2007)
New Revision: 38709
URL: http://svn.boost.org/trac/boost/changeset/38709
Log:
corrections to basic_request<>, from last commit
Text files modified:
sandbox/SOC/2007/cgi/boost/cgi/basic_request.hpp | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
Modified: sandbox/SOC/2007/cgi/boost/cgi/basic_request.hpp
==============================================================================
--- sandbox/SOC/2007/cgi/boost/cgi/basic_request.hpp (original)
+++ sandbox/SOC/2007/cgi/boost/cgi/basic_request.hpp 2007-08-15 23:36:36 EDT (Wed, 15 Aug 2007)
@@ -130,7 +130,10 @@
}
/// Set a cookie
- void set_cookie
+ void set_cookie(const std::string& name, const std::string& val)
+ {
+ this->service.set_cookie(this->impl, name, val);
+ }
/// Synchronously read/parse the request meta-data
/**
@@ -528,11 +531,6 @@
this->service.set_http_status(this->impl, status);
}
- bool is_open()
- {
- return this->service.is_open(this->impl);
- }
-
/// Set a user cookie
/**
* Note: this must be called before you have finished outputting
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk