Staticweb returns error response even if a request succeeded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Kota Tsuyuzaki |
Bug Description
Staticweb returns error response even if a request succeeded.
I have set up my container at my local laptop for staticweb as follows,
account: swift
container: demo
curl http://
> GET /v1/AUTH_swift/demo HTTP/1.1
< X-Container-
< X-Container-Read: .r:*
< X-Container-
404error.html
index.html
After that, I tried a following request without Token.
curl http://
Then, swift returned the content of index.html.
However staticweb middleware actually had searched 200error.html as following access log.
Jul 23 18:55:15 ubuntu swift - - 24/Jul/
Jul 23 18:55:15 ubuntu swift 127.0.0.1 127.0.0.1 24/Jul/
When I uploaded 200error.html in the demo container as a test,
that request returned the content of 200error.html even if index.html existed.
Swift version: 1.9.1
Changed in swift: | |
milestone: | none → 1.9.1 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/38425
Review: https:/