From 560fc756aa87c06c563f3255a4ec5c2002538fd4 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 20 May 2016 09:37:13 -0700 Subject: fix Header docs --- netlib/http/headers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'netlib') diff --git a/netlib/http/headers.py b/netlib/http/headers.py index 8959394c..60d3f429 100644 --- a/netlib/http/headers.py +++ b/netlib/http/headers.py @@ -44,9 +44,9 @@ class Headers(MultiDict): # Headers can also be created from a list of raw (header_name, header_value) byte tuples >>> h = Headers([ - [b"Host",b"example.com"], - [b"Accept",b"text/html"], - [b"accept",b"application/xml"] + (b"Host",b"example.com"), + (b"Accept",b"text/html"), + (b"accept",b"application/xml") ]) # Multiple headers are folded into a single header as per RFC7230 -- cgit v1.2.3