bufferedhttp should str header values to be Python 2.7 compatible

Bug #781909 reported by gholt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Medium
gholt

Bug Description

swift/common/bufferedhttp.py should str header values to be Python 2.7 compatible. Python's httplib expects all header values to be strings and we pass in ints quite often. This hasn't been a problem with Python 2.6's httplib but is a problem with 2.7's. Easiest fix for us is to have bufferedhttp str all the values for us.

Related branches

gholt (gholt)
description: updated
description: updated
gholt (gholt)
Changed in swift:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → gholt (gholt)
Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.4.0
status: Fix Committed → 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.