diff options
Diffstat (limited to 'netlib/http/response.py')
-rw-r--r-- | netlib/http/response.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/netlib/http/response.py b/netlib/http/response.py index 7866c142..ae29298f 100644 --- a/netlib/http/response.py +++ b/netlib/http/response.py @@ -17,8 +17,16 @@ from typing import Union # noqa class ResponseData(message.MessageData): - def __init__(self, http_version, status_code, reason=None, headers=(), content=None, - timestamp_start=None, timestamp_end=None): + def __init__( + self, + http_version, + status_code, + reason=None, + headers=(), + content=None, + timestamp_start=None, + timestamp_end=None + ): if isinstance(http_version, six.text_type): http_version = http_version.encode("ascii", "strict") if isinstance(reason, six.text_type): |