Support for User-Agent?

William M. Perry ([email protected])
Mon, 16 May 94 15:00 EDT


>>>>> "cjm" == Christopher J McRae <[email protected]> writes:

cjm> We need the User-Agent header for a number of reasons - most
cjm> particularly for remaining backwards-compatible with older clients
cjm> as the technology continues to develop. I don't believe that
cjm> Mosaic currently sends it, and I know that violaWWW does. What
cjm> about the other clients? Is there any will out there to add this
cjm> anytime soon?

Mosaic for X sends it, but in a totally broken way. According to the
spec, there should be at most two tokens on the line. Something like:

User-Agent: XMosaic/2.4; libwww/version#

Mosaic sends:

User-Agent: NCSA Mosaic for the X Window System/2.4; libwww/version#

Not exactly adherent. :) Easy enough to change though. mo-www.c needs to
change char*HTAppName = "Mosaic-X";

Emacs-w3, violaWWW, and lynx all send the correct User-Agent field.

cjm> By the way, 'Referer:' would be nice too.

Emacs-w3 and lynx are the only ones I know of that implement this
already.

-Bill P.