diff options
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 |
