Mailinglist Archive: opensuse-bugs (14452 mails)

< Previous Next >
[Bug 431571] New: move unique identifier off user agent in to private header
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 2 Oct 2008 07:15:40 -0600 (MDT)
  • Message-id: <bug-431571-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>

Summary: move unique identifier off user agent in to private
Product: openSUSE 11.1
Version: Factory
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: libzypp
AssignedTo: coolo@xxxxxxxxxx
ReportedBy: poeml@xxxxxxxxxx
QAContact: qa@xxxxxxx
CC: dmacvicar@xxxxxxxxxx
Found By: ---

I notice that there is a new user agent string in place with 11.1, which
contains a unique identifier:

X.X.X.X - - [02/Oct/2008:14:35:37 +0200] "GET
/factory/repo/oss/suse/x86_64/groff- HTTP/1.1" 302
380 "-" "ZYpp 5.11.0 (curl 7.19.0) - 8fe829d4-893f-11dd-99c5-6989a659fc4a on
''" 256 702 EU:RO size:2040733 -

I suggest to move this information into a private metadata header
(X-Foobar) for the following reasons:

1) I consider the addition of the uuid misuse of the user agent field,
which must not be used for non-essential information other than product
identification, according to the HTTP/1.1 spec.

2) The variation introduced with this change is prohibitive for using a
HTTP Vary header on the user agent by any involved server, mirror, or
proxy cache -- otherwise all requested content becomes completely
uncacheable. In addition, it would ruin the hit ratio and flood the
cache with objects that should not be cached.

3) It complicates server-driven negotiation based on user agent.

Please send this information in a separate header.

For the logging it doesn't matter - we can log an arbitrary header just
as well, together with the request.

It might even be more practical because then the identifier is available
separately without the need to split it from the user agent string.
Across updates, the other part of the user agent string could changes,
so the whole user agent string is less usable for tracking as far as I
can see.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >