Actions
Bug #10873
closedRGW does not send Date HTTP header when civetweb frontend is used
% Done:
0%
Source:
other
Tags:
Backport:
hammer,firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The Date header is mandatory according to OpenStack Object Storage API v1. The Swift and FastCGI frontend (or HTTP server) generate it properly.
1. RGW via civetweb: curl -i "http://localhost:8000/swift/v1/cont1" -X HEAD -H "X-Auth-Token: $token"
HTTP/1.1 204 No Content X-Container-Object-Count: 1 X-Container-Bytes-Used: 0 X-Container-Bytes-Used-Actual: 0 X-Storage-Policy: default-placement Content-type: text/plain; charset=utf-8 Content-Length: 0
2. RGW via nginx: curl -i "http://localhost:8080/swift/v1/cont1" -X HEAD -H "X-Auth-Token: $token"
HTTP/1.1 204 No Content Server: nginx/1.4.6 (Ubuntu) Date: Thu, 12 Feb 2015 13:05:50 GMT Content-Type: text/plain; charset=utf-8 Connection: keep-alive X-Container-Object-Count: 1 X-Container-Bytes-Used: 0 X-Container-Bytes-Used-Actual: 0 X-Storage-Policy: default-placement
Actions