py3: default request content-type should be forced to None

Bug #1614289 reported by Alistair Coles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Low
Sachin

Bug Description

In py2 mimetools was patched to force the default content-type to be None rather than text/plain. For py3 email will need to be similarly patched, otherwise this test [2] is likely to fail.

See discussion on [1]

[1] https://review.openstack.org/#/c/347498/
[2] test/functional/tests.py:TestFile.testContentTypeGuessing

Tags: python3
tags: added: python3
removed: py3
Changed in swift:
assignee: nobody → Shashi (shashirekha-j-gundur)
Changed in swift:
assignee: Shashi (shashirekha-j-gundur) → nobody
Sachin (sacpatil)
Changed in swift:
assignee: nobody → Sachin (sacpatil)
Tim Burke (1-tim-z)
Changed in swift:
status: New → Confirmed
Revision history for this message
Tim Burke (1-tim-z) wrote :

Should have been fixed by https://github.com/openstack/swift/commit/e5eb673 (wherein we stop patching mimetools).

Changed in swift:
status: Confirmed → 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.