diff options
Diffstat (limited to 'icespider/fcgi/cgiRequestBase.cpp')
-rw-r--r-- | icespider/fcgi/cgiRequestBase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/icespider/fcgi/cgiRequestBase.cpp b/icespider/fcgi/cgiRequestBase.cpp index 0b63997..c36e11c 100644 --- a/icespider/fcgi/cgiRequestBase.cpp +++ b/icespider/fcgi/cgiRequestBase.cpp @@ -94,6 +94,12 @@ namespace IceSpider { } OptionalString + CgiRequestBase::getEnv(const std::string & key) const + { + return optionalLookup(key, envmap); + } + + OptionalString CgiRequestBase::getHeaderParam(const std::string & key) const { return optionalLookup(("HTTP_" + boost::algorithm::to_upper_copy(key)).c_str(), envmap); |