Date: Tue, 21 Jan 1997 09:50:02 -0800 (PST) From: Bill Fenner <fenner@parc.xerox.com> To: freebsd-bugs Subject: Re: bin/2547: fetch command fail to get file Message-ID: <199701211750.JAA02270@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2547; it has been noted by GNATS.
From: Bill Fenner <fenner@parc.xerox.com>
To: freebsd-gnats-submit@freebsd.org, Nakai@mlab.t.u-tokyo.ac.jp
Cc: Subject: Re: bin/2547: fetch command fail to get file
Date: Tue, 21 Jan 1997 09:38:32 PST
This is because fetch doesn't supply an "Accept:" header, and
Microsoft IIS appears to take the lack of an "Accept:" header
as 'I want no types of data' instead of 'I want all types of data'.
(The 406 error says "I don't have the type of data you want". Unless
the characters after the 406 are japanese, then it's probably a bug in
IIS that prints garbage after a 406 error).
Of course, RFC2068 says
If no Accept header field is present, then it is assumed that the
client accepts all media types.
but we can't expect Microsloth to care. The fix, annoying as it
may be, is probably to make fetch say "Accept: */*" as part of its
HTTP request.
Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701211750.JAA02270>
