[MacPorts] #40319: Fix MacPorts user-agent to conform to RFC 2616
MacPorts
noreply at macports.org
Sat Aug 31 10:15:53 PDT 2013
#40319: Fix MacPorts user-agent to conform to RFC 2616
--------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Keywords: | Port:
--------------------------+--------------------------------
The MacPorts user-agent is e.g.:
{{{
MacPorts 2.2.0 libcurl/7.24.0
}}}
[http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43 RFC 2616
section 14.43] defines the user agent as:
{{{
User-Agent = "User-Agent" ":" 1*( product | comment )
}}}
[http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.8 RFC 2616
section 3.8] defines `product` as:
{{{
product = token ["/" product-version]
product-version = token
}}}
It gives the following examples:
{{{
User-Agent: CERN-LineMode/2.15 libwww/2.17b3
Server: Apache/0.8.4
}}}
So the MacPorts user-agent should be changed to e.g.:
{{{
MacPorts/2.2.0 libcurl/7.24.0
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40319>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list