#40319 closed defect (fixed)
Fix MacPorts user-agent to conform to RFC 2616
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.3.0 |
Component: | base | Version: | 2.2.0 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: |
Description
The MacPorts user-agent is e.g.:
MacPorts 2.2.0 libcurl/7.24.0
RFC 2616 section 14.43 defines the user agent as:
User-Agent = "User-Agent" ":" 1*( product | comment )
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
Change History (4)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | → MacPorts Future |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 2.2.0 |
comment:3 Changed 11 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.3.0 |
---|
comment:4 Changed 7 weeks ago by Xavier Hsinyuan <me@…>
Note: See
TracTickets for help on using
tickets.
r110487