[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/kioslave/http
From: Helio Chissini de Castro <helio () kde ! org>
Date: 2007-04-20 20:35:51
Message-ID: 1177101351.543636.16845.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 656272 by helio:
- Added exception fro ps.gz. Old patch by Laurent Montel with small modification
M +9 -0 http.cc
--- branches/KDE/3.5/kdelibs/kioslave/http/http.cc #656271:656272
@@ -3670,6 +3670,15 @@
m_qContentEncodings.remove(m_qContentEncodings.fromLast());
m_strMimeType = QString::fromLatin1("application/x-gzpostscript");
}
+ else if ( m_request.allowCompressedPage &&
+ m_strMimeType != "application/x-tgz" &&
+ m_strMimeType != "application/x-targz" &&
+ m_strMimeType != "application/x-gzip" &&
+ m_request.url.path().right(6) == ".ps.gz" )
+ {
+ m_qContentEncodings.remove(m_qContentEncodings.fromLast());
+ m_strMimeType = QString::fromLatin1("application/x-gzpostscript");
+ }
else if ( (m_request.allowCompressedPage &&
m_strMimeType == "text/html")
||
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic