patchHurdExtras - Patches: patch #704, fixs version.h and adds User-Agent...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  None
Submitted on:  Sun 24 Nov 2002 03:49:40 PM UTC  
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Mon 19 Jun 2006 10:20:42 PM UTC, comment #1: 

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.

Alfred M. Szmidt <ams>
Project Administrator
Sun 24 Nov 2002 03:49:40 PM UTC, original submission:  
Anonymous

 

Attached Files
file #4833:  patch_item_704.patch added by None (2KiB - text/plain - patch item 704)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

No changes have been made to this item

Back to the top


Powered by Savane 3.5