aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-30 10:49:06 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-30 10:49:06 +0000
commitc0e95adf50fa07ff14e07feea2f43816826c42f3 (patch)
tree936d1c3511db4517387c0fd9b6256e32688cf95d /url.c
parent[w3m-dev 02596] (diff)
downloadw3m-c0e95adf50fa07ff14e07feea2f43816826c42f3.tar.gz
w3m-c0e95adf50fa07ff14e07feea2f43816826c42f3.zip
[w3m-dev 02597]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'url.c')
-rw-r--r--url.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/url.c b/url.c
index 373c7e5..4ab1f24 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.13 2001/11/30 09:54:22 ukai Exp $ */
+/* $Id: url.c,v 1.14 2001/11/30 10:49:06 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1198,13 +1198,8 @@ otherinfo(ParsedURL *target, ParsedURL *current, char *referer)
Strcat_charp(s, UserAgent);
Strcat_charp(s, "\r\n");
- Strcat_charp(s, "Accept: ");
- Strcat_charp(s, acceptableMimeTypes());
- Strcat_charp(s, "\r\n");
-
- Strcat_charp(s, "Accept-Encoding: ");
- Strcat_charp(s, acceptableEncoding());
- Strcat_charp(s, "\r\n");
+ Strcat_m_charp(s, "Accept: ", AcceptMedia, "\r\n");
+ Strcat_m_charp(s, "Accept-Encoding: ", AcceptEncoding, "\r\n");
Strcat_charp(s, "Accept-Language: ");
if (AcceptLang != NULL && *AcceptLang != '\0') {