diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-10-22 15:09:00 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-10-22 15:09:00 +0000 |
| commit | c6035b2e24410e7a576f83e92257f4bb26d593c9 (patch) | |
| tree | b6221953e8a95566aaeba33c527d70f810f51bed /src/HttpResponseCommand.cc | |
| parent | 3349fe081156776aba058b90beebb68d4ee73e75 (diff) | |
2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved static functions in Util class to namespace util.
* src
* test
Diffstat (limited to 'src/HttpResponseCommand.cc')
| -rw-r--r-- | src/HttpResponseCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc index b9819d4a..682f0764 100644 --- a/src/HttpResponseCommand.cc +++ b/src/HttpResponseCommand.cc @@ -196,8 +196,8 @@ void HttpResponseCommand::updateLastModifiedTime(const Time& lastModified) static bool fileIsGzipped(const SharedHandle<HttpResponse>& httpResponse) { std::string filename = - Util::toLower(httpResponse->getHttpRequest()->getRequest()->getFile()); - return Util::endsWith(filename, ".gz") || Util::endsWith(filename, ".tgz"); + util::toLower(httpResponse->getHttpRequest()->getRequest()->getFile()); + return util::endsWith(filename, ".gz") || util::endsWith(filename, ".tgz"); } bool HttpResponseCommand::shouldInflateContentEncoding |
