Skip to content

Commit c82c719

Browse files
committed
return the full response from FakeAppObject
Fixes bug 984042 Change-Id: I18a6eac497b24338af4d82a568484b0fc9d97382
1 parent 40cbff9 commit c82c719

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Contributors
1717
------------
1818
Jesse Andrews ([email protected])
1919
Joe Arnold ([email protected])
20+
Ionuț Arțăriși ([email protected])
2021
Darrell Bishop ([email protected])
2122
James E. Blair ([email protected])
2223
Chmouel Boudjnah ([email protected])

test/unit/common/middleware/test_swift3.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ def __call__(self, env, start_response):
134134
if 'HTTP_RANGE' in env:
135135
resp = Response(body=self.object_body,
136136
conditional_response=True)
137-
resp_iter = iter(resp(env, start_response))
138-
return resp_iter.next()
137+
return resp(env, start_response)
139138
start_response(Response().status,
140139
self.response_headers.items())
141140
if env['REQUEST_METHOD'] == 'GET':

0 commit comments

Comments
 (0)