diff options
Diffstat (limited to 'netlib/http/request.py')
-rw-r--r-- | netlib/http/request.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/netlib/http/request.py b/netlib/http/request.py index d35c1874..5bd2547e 100644 --- a/netlib/http/request.py +++ b/netlib/http/request.py @@ -42,8 +42,7 @@ class Request(Message): An HTTP request. """ def __init__(self, *args, **kwargs): - data = RequestData(*args, **kwargs) - super(Request, self).__init__(data) + self.data = RequestData(*args, **kwargs) def __repr__(self): if self.host and self.port: |