st should send user-agent

Bug #782463 reported by Jon Slenk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Expired
Low
Unassigned

Bug Description

swift-1.2.0

While looking at swift logs, it looks like 'st' doesn't report a user-agent string, so it seems hard to figure out what incoming objects were being sent by 'st'.

Related branches

Jon Slenk (jslenk)
description: updated
Revision history for this message
gholt (gholt) wrote :

Yes, st should indeed send a User-Agent header. Unfortunately, this is more difficult than it may seem as client.py functions have to all be updated to accept headers, client.py's Connection class needs to except a set of headers to send on every request, and then st has to be updated to always use Connection with the appropriate User-Agent header. It's on the "to do" list.

Revision history for this message
Mark Nottingham (mnot) wrote :

I've taken a stab at it in lp:~mnot/swift/lp782463

To be addressed:
  - tests (couldn't find test cases for client)
  - swift has the version baked into it; probably
    needs to be handled by the build process.
  - the UA for everything is 'swift/[version]'. Is it
    desireabe for it to be more specific for other
    tools that use common.client?

Changed in swift:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
clayg (clay-gerrard) wrote :

we need to reconfirm

Changed in swift:
status: Confirmed → Incomplete
tags: added: low-hanging-fruit
Revision history for this message
clayg (clay-gerrard) wrote :

er... in this context "st" means the "swift" command line client provided with "python-swiftclient" - it used to be called just "st"

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Object Storage (swift) because there has been no activity for 60 days.]

Changed in swift:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.