pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0835ea2
)
reformating
author
Enno Boland (tox)
<tox@s01.de>
Tue, 20 Oct 2009 12:11:08 +0000
(14:11 +0200)
committer
Enno Boland (tox)
<tox@s01.de>
Tue, 20 Oct 2009 12:11:08 +0000
(14:11 +0200)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
fefb263
..
6c386fa
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-640,9
+640,9
@@
request(SoupSession *s, SoupMessage *m, gpointer p) {
SoupCookieJar *cookies;
SoupMessageHeaders *h;
char *cookiestr;
+
soup_message_add_header_handler(m, "got-headers", "Set-Cookie",
G_CALLBACK(setcookie), NULL);
-
h = m->request_headers;
cookies = soup_cookie_jar_text_new(cookiefile, TRUE);
cookiestr = soup_cookie_jar_get_cookies(cookies, soup_message_get_uri(m), FALSE);