[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.2/kdelibs/kio/kio
From:       Maks Orlovich <maksim () kde ! org>
Date:       2009-02-21 20:57:52
Message-ID: 1235249872.665840.1251.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 929669 by orlovich:

Give weight preference to html in our accept header, since otherwise we may 
get feed an image when a server is making a choice...

BUG: 184860


 M  +1 -1      http_slave_defaults.h  


--- branches/KDE/4.2/kdelibs/kio/kio/http_slave_defaults.h #929668:929669
@@ -44,6 +44,6 @@
 #define DEFAULT_MIME_TYPE               "text/html"
 #define DEFAULT_PARTIAL_CHARSET_HEADER   ", utf-8;q=0.5, *;q=0.5"
 
-#define DEFAULT_ACCEPT_HEADER           "text/html, image/jpeg, image/png, text/*, \
image/*, */*" +#define DEFAULT_ACCEPT_HEADER           "text/html, image/jpeg;q=0.9, \
image/png;q=0.9, text/*;q=0.9, image/*;q=0.9, */*;q=0.8"  
 #endif


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic