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

Bug #1614289 reported by Alistair Coles on 2016-08-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
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: added: python3
removed: py3
Changed in swift:
assignee: nobody → Shashi (shashirekha-j-gundur)
Changed in swift:
assignee: Shashi (shashirekha-j-gundur) → nobody
Sachin (sacpatil) on 2016-12-28
Changed in swift:
assignee: nobody → Sachin (sacpatil)
Tim Burke (1-tim-z) on 2017-08-09
Changed in swift:
status: New → Confirmed
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  Edit
Everyone can see this information.

Other bug subscribers