diff --git a/httpretty/core.py b/httpretty/core.py index 69686458..5cf02e3b 100644 --- a/httpretty/core.py +++ b/httpretty/core.py @@ -1585,7 +1585,8 @@ def playback(cls, filename, allow_net_connect=True, verbose=False): method = item['request']['method'] body = item['response']['body'] headers = item['response']['headers'] - cls.register_uri(method, uri, body=body, forcing_headers=headers) + status = item['response']['status'] + cls.register_uri(method, uri, body=body, forcing_headers=headers, status=status) yield cls.disable()