Swift client HeadObject doesn't get headers
Bug #1314366 reported by
Kevin McDermott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Go OpenStack Exchange |
Fix Released
|
High
|
Kevin McDermott |
Bug Description
// HeadObject retrieves object metadata and other standard HTTP headers.
the headers from the request don't end up in the headers, so you always get a nil object back...
Related branches
lp:~bigkevmcd/goose/fix-for-swift-headers
- John A Meinel: Approve
-
Diff: 306 lines (+114/-21)6 files modifiedhttp/client.go (+14/-11)
http/client_test.go (+3/-0)
swift/live_test.go (+17/-2)
swift/swift.go (+8/-8)
testservices/swiftservice/service_http.go (+22/-0)
testservices/swiftservice/service_http_test.go (+50/-0)
Changed in goose: | |
assignee: | nobody → Kevin McDermott (bigkevmcd) |
status: | New → In Progress |
Changed in goose: | |
importance: | Undecided → High |
Changed in goose: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
goose.http. Client. sendRequest drops the response headers...
return rawResp.Body, err