diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-10 20:44:36 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-10 20:44:36 +0200 |
commit | ff27d65f08d00c312a162965c5b1db711aa8f6ed (patch) | |
tree | 2098e479125bec21c518955907d996a88c6028f7 /netlib/http/semantics.py | |
parent | 476badf45cd085d69b6162cd48983e3cd22cefcc (diff) | |
download | mitmproxy-ff27d65f08d00c312a162965c5b1db711aa8f6ed.tar.gz mitmproxy-ff27d65f08d00c312a162965c5b1db711aa8f6ed.tar.bz2 mitmproxy-ff27d65f08d00c312a162965c5b1db711aa8f6ed.zip |
cleanup whitespace
Diffstat (limited to 'netlib/http/semantics.py')
-rw-r--r-- | netlib/http/semantics.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/netlib/http/semantics.py b/netlib/http/semantics.py index 15add957..d9dbb559 100644 --- a/netlib/http/semantics.py +++ b/netlib/http/semantics.py @@ -332,6 +332,7 @@ class Request(object): class EmptyRequest(Request): + def __init__(self): super(EmptyRequest, self).__init__( form_in="", @@ -343,7 +344,7 @@ class EmptyRequest(Request): httpversion=(0, 0), headers=odict.ODictCaseless(), body="", - ) + ) class Response(object): @@ -396,10 +397,9 @@ class Response(object): status_code=self.status_code, msg=self.msg, contenttype=self.headers.get_first( - "content-type", "unknown content type" - ), - size=size - ) + "content-type", + "unknown content type"), + size=size) def get_cookies(self): """ |