Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#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 (3)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts Future
Resolution: fixed
Status: newclosed
Version: 2.2.0

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.3.0
Note: See TracTickets for help on using tickets.