diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-05-28 19:31:43 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-05-28 19:31:43 -0700 |
commit | 85aa5da6e3b7d811d316ed692ecd40e5442abe02 (patch) | |
tree | 9758079672b57eb7b1ec544e4ae2c2227d3ae6fd /netlib/http/headers.py | |
parent | b70663f434897c3830ac0ca4c972face484ce064 (diff) | |
download | mitmproxy-85aa5da6e3b7d811d316ed692ecd40e5442abe02.tar.gz mitmproxy-85aa5da6e3b7d811d316ed692ecd40e5442abe02.tar.bz2 mitmproxy-85aa5da6e3b7d811d316ed692ecd40e5442abe02.zip |
fix tests
Diffstat (limited to 'netlib/http/headers.py')
-rw-r--r-- | netlib/http/headers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/http/headers.py b/netlib/http/headers.py index 2caf8d51..6067ff5e 100644 --- a/netlib/http/headers.py +++ b/netlib/http/headers.py @@ -76,7 +76,7 @@ class Headers(MultiDict): For use with the "Set-Cookie" header, see :py:meth:`get_all`. """ - def __init__(self, fields=None, **headers): + def __init__(self, fields=(), **headers): """ Args: fields: (optional) list of ``(name, value)`` header byte tuples, |