Allow auth.request to include extra headers

Bug #784710 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-couch
In Progress
Medium
Ubuntu One Client Engineering team
ubuntuone-couch (Ubuntu)
Fix Released
Medium
Ubuntu One Client Engineering team

Bug Description

Binary package hint: ubuntuone-couch

When uploading to Ubuntu One's REST API, you need to specify some extra headers like Content-Type. If auth.request had an optional argument like headers={} that it merged with the oauth header, it would really help.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubuntuone-couch 0.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.39-2.7-generic 2.6.39-rc7
Uname: Linux 2.6.39-2-generic i686
Architecture: i386
Date: Wed May 18 12:18:07 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110422)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntuone-couch
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Michael Terry (mterry) wrote :
Revision history for this message
Eric Casteleijn (thisfred) wrote :

Michael, thanks for reporting this and working on the fix! I've assigned the bug to you for now, since you're working on it, feel free to reassign to me when that's done.

Changed in ubuntuone-couch:
status: New → Triaged
status: Triaged → In Progress
Changed in ubuntuone-couch (Ubuntu):
status: New → In Progress
Changed in ubuntuone-couch:
importance: Undecided → Wishlist
Changed in ubuntuone-couch (Ubuntu):
importance: Undecided → Medium
Changed in ubuntuone-couch:
importance: Wishlist → Medium
assignee: nobody → Eric Casteleijn (thisfred)
Changed in ubuntuone-couch (Ubuntu):
assignee: nobody → Eric Casteleijn (thisfred)
Changed in ubuntuone-couch:
assignee: Eric Casteleijn (thisfred) → Michael Terry (mterry)
Revision history for this message
Michael Terry (mterry) wrote :

Heh, I can't reassign. But I did update the branch.

Changed in ubuntuone-couch:
status: In Progress → Fix Committed
Revision history for this message
Eric Casteleijn (thisfred) wrote :

I need to add tests for extra headers.

Changed in ubuntuone-couch:
assignee: Michael Terry (mterry) → Eric Casteleijn (thisfred)
status: Fix Committed → In Progress
Changed in ubuntuone-couch:
assignee: Eric Casteleijn (thisfred) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Changed in ubuntuone-couch (Ubuntu):
assignee: Eric Casteleijn (thisfred) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Michael Terry (mterry)
Changed in ubuntuone-couch (Ubuntu):
status: In Progress → Fix Released
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.