diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-30 10:49:06 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-30 10:49:06 +0000 |
commit | c0e95adf50fa07ff14e07feea2f43816826c42f3 (patch) | |
tree | 936d1c3511db4517387c0fd9b6256e32688cf95d /url.c | |
parent | [w3m-dev 02596] (diff) | |
download | w3m-c0e95adf50fa07ff14e07feea2f43816826c42f3.tar.gz w3m-c0e95adf50fa07ff14e07feea2f43816826c42f3.zip |
[w3m-dev 02597]
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | url.c | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -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') { |