diff options
author | corvid <devnull@localhost> | 2014-03-16 20:30:51 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2014-03-16 20:30:51 +0000 |
commit | 8036421be353c40a17733a6c8b3c9236edc61e20 (patch) | |
tree | 57effc7fd7d99a35c7fb3f1406820d86cdb76bd6 /src/IO/http.c | |
parent | ce3bf9b919040b6afdb55ee8de63f4ae45881d23 (diff) |
Separate 'Accept:' value for stylesheets
Diffstat (limited to 'src/IO/http.c')
-rw-r--r-- | src/IO/http.c | 5 |
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) { |