bufferedhttp should str header values to be Python 2.7 compatible

Bug #781909 reported by gholt on 2011-05-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
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) on 2011-05-12
description: updated
description: updated
gholt (gholt) on 2011-05-12
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) on 2011-05-31
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  Edit
Everyone can see this information.

Other bug subscribers