Project

General

Profile

Actions

Bug #12157

closed

RGW Swift API: responses for several request types don't contain mandatory Content-Type header

Added by Radoslaw Zarzynski almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
firefly,hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Swift sends Content-Type HTTP header for all requests even if the response doesn't contain body (in other words: if Content-Length is zero). We have this behaviour implemented until applying some changes in end_header() function. Unfortunately, lack of the header causes early exists of many Tempest's tests for verification of conformance with OpenStack Object Storage API v1.


Related issues 3 (0 open3 closed)

Related to rgw - Bug #12095: RGW Swift API: response for HEAD on container doesn't contain mandatory Content-Type headerDuplicateOrit Wasserman06/19/2015

Actions
Copied to rgw - Backport #12246: RGW Swift API: responses for several request types don't contain mandatory Content-Type headerResolvedOrit Wasserman06/25/2015Actions
Copied to rgw - Backport #13360: RGW Swift API: responses for several request types don't contain mandatory Content-Type headerResolvedRadoslaw ZarzynskiActions
Actions #1

Updated by Radoslaw Zarzynski almost 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Radoslaw Zarzynski
Actions #2

Updated by Radoslaw Zarzynski almost 9 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Yehuda Sadeh almost 9 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to hammer
Actions #4

Updated by Yehuda Sadeh almost 9 years ago

Commit:106aeba206736d4080326f9bc191876bed63370b

Actions #5

Updated by Abhishek Lekshmanan almost 9 years ago

For the backport, it looks like a couple of other commits (https://github.com/ceph/ceph/pull/4418 & https://github.com/ceph/ceph/pull/4361 ) need to be backported before this is landed. Can Radoslaw/Yehuda confirm this is the case?

Actions #7

Updated by Loïc Dachary over 8 years ago

Appears to also be fixed by https://github.com/ceph/ceph/pull/5041

Actions #8

Updated by Nathan Cutler over 8 years ago

  • Backport changed from hammer to firefly,hammer
Actions #9

Updated by Nathan Cutler over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF