Content-Length header not returned from GET /images/<ID>
Bug #737149 reported by
Jay Pipes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Jay Pipes |
Bug Description
X-Image-Meta-Size is returned. Content-Length header should also be returned and should match that value.
In glance/server.py, ensure the content-length header is set appropriately in Controller.show()
This bug was noticed while adding functional tests for bug713304.
Related branches
lp:~jaypipes/glance/bug731304
- Jay Pipes (community): Approve
- Christopher MacGown (community): Approve
- Ed Leafe (community): Approve
- Rick Harris (community): Approve
- Cory Wright: Pending requested
-
Diff: 1329 lines (+896/-329)11 files modifiedMANIFEST.in (+1/-2)
bin/glance (+1/-1)
glance/server.py (+3/-1)
glance/store/http.py (+1/-1)
tests/functional/__init__.py (+225/-0)
tests/functional/test_bin_glance.py (+152/-0)
tests/functional/test_curl_api.py (+302/-0)
tests/functional/test_logging.py (+79/-0)
tests/functional/test_misc.py (+26/-315)
tests/unit/test_utils.py (+67/-0)
tests/utils.py (+39/-9)
Changed in glance: | |
status: | Triaged → In Progress |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | cactus-2011-03-24 → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.