diff --git a/moto/core/responses.py b/moto/core/responses.py index 88e4ea6df..8e6c5bfcc 100644 --- a/moto/core/responses.py +++ b/moto/core/responses.py @@ -58,7 +58,7 @@ class BaseResponse(object): return 200, headers, response else: body, new_headers = response - status = new_headers.pop('status', 200) + status = new_headers.get('status', 200) headers.update(new_headers) return status, headers, body raise NotImplementedError("The {0} action has not been implemented".format(action))