diff -urN ./src/http.c ../wget-1.5.3-modified/src/http.c
--- ./src/http.c	Thu Sep 10 09:14:44 1998
+++ ../wget-1.5.3-modified/src/http.c	Fri Dec 15 19:57:11 2000
@@ -73,7 +73,9 @@
 
 
 #define TEXTHTML_S "text/html"
-#define HTTP_ACCEPT "*/*"
+/* this is now specified on the command line as --http-accept
+#define HTTP_ACCEPT ""
+*/
 
 /* Some status code validation macros: */
 #define H_20X(x)        (((x) >= 200) && ((x) < 300))
@@ -305,7 +307,7 @@
 {
   char *request, *type, *command, *path;
   char *user, *passwd;
-  char *pragma_h, *referer, *useragent, *range, *wwwauth, *remhost;
+  char *pragma_h, *referer, *useragent, *range, *wwwauth, *remhost,*http_accept;
   char *authenticate_h;
   char *proxyauth;
   char *all_headers;
@@ -427,6 +429,15 @@
 					   command, ou->path);
     }
 
+	/* http_accept code */
+  if( opt.http_accept )
+    STRDUP_ALLOCA ( http_accept, opt.http_accept);
+  else
+    {
+      http_accept = (char *)alloca( 4 );
+      sprintf (http_accept, "*/*" );
+    }
+	
   proxyauth = NULL;
   if (u->proxy)
     {
@@ -458,7 +469,7 @@
   request = (char *)alloca (strlen (command) + strlen (path)
 			    + strlen (useragent)
 			    + strlen (remhost) + numdigit (remport)
-			    + strlen (HTTP_ACCEPT)
+			    + strlen (http_accept)
 			    + (referer ? strlen (referer) : 0)
 			    + (wwwauth ? strlen (wwwauth) : 0)
 			    + (proxyauth ? strlen (proxyauth) : 0)
@@ -473,7 +484,7 @@
 Host: %s:%d\r\n\
 Accept: %s\r\n\
 %s%s%s%s%s%s\r\n",
-	  command, path, useragent, remhost, remport, HTTP_ACCEPT, 
+	  command, path, useragent, remhost, remport, http_accept, 
 	  referer ? referer : "", 
 	  wwwauth ? wwwauth : "", 
 	  proxyauth ? proxyauth : "", 
diff -urN ./src/init.c ../wget-1.5.3-modified/src/init.c
--- ./src/init.c	Thu Sep 10 20:20:23 1998
+++ ../wget-1.5.3-modified/src/init.c	Fri Dec 15 19:42:19 2000
@@ -109,6 +109,7 @@
   { "glob",		&opt.ftp_glob,		cmd_boolean },
   { "header",		NULL,			cmd_spec_header },
   { "htmlify",		NULL,			cmd_spec_htmlify },
+  { "httpaccept", 	&opt.http_accept,   cmd_string },
   { "httppasswd",	&opt.http_passwd,	cmd_string },
   { "httpproxy",	&opt.http_proxy,	cmd_string },
   { "httpuser",		&opt.http_user,		cmd_string },
@@ -859,6 +860,7 @@
   opt.useragent = xstrdup (val);
   return 1;
 }
+
 
 /* Miscellaneous useful routines.  */
 
diff -urN ./src/main.c ../wget-1.5.3-modified/src/main.c
--- ./src/main.c	Thu Sep 10 21:41:53 1998
+++ ../wget-1.5.3-modified/src/main.c	Fri Dec 15 19:03:01 2000
@@ -111,7 +111,7 @@
   print_usage ();
   /* Had to split this in parts, so the #@@#%# Ultrix compiler and cpp
      don't bitch.  Also, it makes translation much easier.  */
-  printf ("%s%s%s%s%s%s%s%s%s%s", _("\
+  printf ("%s%s%s%s%s%s%s%s%s%s%s", _("\
 \n\
 Mandatory arguments to long options are mandatory for short options too.\n\
 \n"), _("\
@@ -188,6 +188,9 @@
   -X,  --exclude-directories=LIST   list of excluded directories.\n\
   -nh, --no-host-lookup             don\'t DNS-lookup hosts.\n\
   -np, --no-parent                  don\'t ascend to the parent directory.\n\
+\n"), _("\
+Patched options:\n\
+  --http-accept=LIST                string to use for Accept http header.\n\
 \n"), _("Mail bug reports and suggestions to <bug-wget@gnu.org>.\n"));
 }
 
@@ -247,6 +250,7 @@
     { "glob", required_argument, NULL, 'g' },
     { "header", required_argument, NULL, 3 },
     { "htmlify", required_argument, NULL, 7 },
+		{ "http-accept", required_argument, NULL, 30 },
     { "http-passwd", required_argument, NULL, 2 },
     { "http-user", required_argument, NULL, 1 },
     { "include-directories", required_argument, NULL, 'I' },
@@ -436,6 +440,9 @@
 	case 23:
 	  setval ("backups", optarg);
 	  break;
+	case 30:
+		setval ("httpaccept", optarg);
+		break;
 	case 'A':
 	  setval ("accept", optarg);
 	  break;
diff -urN ./src/options.h ../wget-1.5.3-modified/src/options.h
--- ./src/options.h	Tue Apr 28 17:29:40 1998
+++ ../wget-1.5.3-modified/src/options.h	Fri Dec 15 19:28:47 2000
@@ -79,7 +79,8 @@
   int netrc;			/* Whether to read .netrc. */
   int ftp_glob;			/* FTP globbing */
   int ftp_pasv;			/* Passive FTP. */
-
+	
+  char *http_accept; /*HTTP header Accept*/
   char *http_user;		/* HTTP user. */
   char *http_passwd;		/* HTTP password. */
   char *user_header;		/* User-defined header(s). */
