aboutsummaryrefslogtreecommitdiff
path: root/src/capi.c
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-03-16 20:10:43 +0000
committercorvid <devnull@localhost>2014-03-16 20:10:43 +0000
commitce3bf9b919040b6afdb55ee8de63f4ae45881d23 (patch)
tree1229c9cd756d4496fcb010e68a2afb8c3ef068dd /src/capi.c
parente2d63b710bda54a453a3f587f0a8df075285a0f2 (diff)
Separate 'Accept:' values for images and the rest
Diffstat (limited to 'src/capi.c')
-rw-r--r--src/capi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/capi.c b/src/capi.c
index de338267..531ae34d 100644
--- a/src/capi.c
+++ b/src/capi.c
@@ -301,7 +301,8 @@ static char *Capi_dpi_build_cmd(DilloWeb *web, char *server)
if (strcmp(server, "proto.https") == 0) {
/* Let's be kind and make the HTTP query string for the dpi */
char *proxy_connect = a_Http_make_connect_str(web->url);
- Dstr *http_query = a_Http_make_query_str(web->url, web->requester,FALSE);
+ Dstr *http_query = a_Http_make_query_str(web->url, web->requester,
+ web->flags, FALSE);
if ((uint_t) http_query->len > strlen(http_query->str)) {
/* Can't handle NULLs embedded in query data */