diff options
Diffstat (limited to 'icespider/fcgi/cgiRequestBase.cpp')
-rw-r--r-- | icespider/fcgi/cgiRequestBase.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/icespider/fcgi/cgiRequestBase.cpp b/icespider/fcgi/cgiRequestBase.cpp index afeb560..96ec1b4 100644 --- a/icespider/fcgi/cgiRequestBase.cpp +++ b/icespider/fcgi/cgiRequestBase.cpp @@ -182,36 +182,6 @@ namespace IceSpider { return optionalLookup(HEADER_PREFIX + boost::algorithm::to_upper_copy(key), envmap); } - void - CgiRequestBase::setQueryStringParam(const std::string & key, const OptionalString & val) - { - if (val) - qsmap[key] = *val; - else - qsmap.erase(key); - } - - void - CgiRequestBase::setHeaderParam(const std::string &, const OptionalString &) - { - throw std::runtime_error("Changing the CGI environment is not supported."); - } - - void - CgiRequestBase::setCookieParam(const std::string & key, const OptionalString & val) - { - if (val) - cookiemap[key] = *val; - else - cookiemap.erase(key); - } - - void - CgiRequestBase::setEnv(const std::string &, const OptionalString &) - { - throw std::runtime_error("Changing the CGI environment is not supported."); - } - void CgiRequestBase::response(short statusCode, const std::string & statusMsg) const { StatusFmt::write(getOutputStream(), statusCode, statusMsg); |