aboutsummaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-02-24 23:15:53 +0100
committerjcid <devnull@localhost>2008-02-24 23:15:53 +0100
commit3db452ebf6e03d52dce137e4f646f9814baa595d (patch)
treedf808fe94f8505707b666d3eae040f02439df1a4 /src/IO/http.c
parentfc5368c8c1472227fca3b40254462531ac9f3910 (diff)
+ Moved cookie headers into a single function.
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index dd5cf1b6..41774dc8 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -202,7 +202,7 @@ char *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
(URL_PATH_(url) || URL_QUERY_(url)) ? "" : "/");
}
- cookies = a_Cookies_get(url);
+ cookies = a_Cookies_get_query(url);
referer = Http_get_referer(url);
if (URL_FLAGS(url) & URL_Post) {
dStr_sprintfa(
@@ -214,7 +214,6 @@ char *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
"%s"
"User-Agent: Dillo/%s\r\n"
"Accept-Encoding: gzip\r\n"
- "Cookie2: $Version=\"1\"\r\n"
"%s"
"Content-type: application/x-www-form-urlencoded\r\n"
"Content-length: %ld\r\n"
@@ -237,7 +236,6 @@ char *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
"%s"
"User-Agent: Dillo/%s\r\n"
"Accept-Encoding: gzip\r\n"
- "Cookie2: $Version=\"1\"\r\n"
"Connection: close\r\n"
"%s"
"\r\n",