hurdextras-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #704] fixs version.h and adds User-Agent field


From: Alfred M. Szmidt
Subject: [patch #704] fixs version.h and adds User-Agent field
Date: Tue, 20 Jun 2006 00:20:42 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

Follow-up Comment #1, patch #704 (project hurdextras):

Part of the patch is no longer needed, httpfs doesn't use version.h anymore.

The other part about adding a user agent string, I think this is a good idea.
 But I think it should be configurable, just like for wget, and it should be
something different than "Mozilla".

       -U agent-string
       --user-agent=agent-string
           Identify as agent-string to the HTTP server.

           The HTTP protocol allows the clients to identify them-
           selves using a "User-Agent" header field.  This
           enables distinguishing the WWW software, usually for
           statistical purposes or for tracing of protocol viola-
           tions.  Wget normally identifies as Wget/version, ver-
           sion being the current version number of Wget.

           However, some sites have been known to impose the pol-
           icy of tailoring the output according to the
           "User-Agent"-supplied information.  While conceptually
           this is not such a bad idea, it has been abused by
           servers denying information to clients other than
           "Mozilla" or Microsoft "Internet Explorer".  This
           option allows you to change the "User-Agent" line
           issued by Wget.  Use of this option is discouraged,
           unless you really know what you are doing.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=704>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]