summaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 079f0a3c..0a235f57 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -270,8 +270,9 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, const DilloUrl *requester,
*proxy_auth = dStr_new("");
/* BUG: dillo doesn't actually understand application/xml yet */
- const char *accept_hdr_value = web_flags & WEB_Image ?
- "image/png,image/*;q=0.8,*/*;q=0.5" :
+ const char *accept_hdr_value =
+ web_flags & WEB_Image ? "image/png,image/*;q=0.8,*/*;q=0.5" :
+ web_flags & WEB_Stylesheet ? "text/css,*/*;q=0.1" :
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
if (use_proxy) {