From 3d5c399a41903369dc5354a2156c0402a1ae3036 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 2 Jan 2016 18:10:08 -0800 Subject: [PATCH] Update header spec to exclude underscores. --- docs/asgi.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/asgi.rst b/docs/asgi.rst index b709582..0b19fc7 100644 --- a/docs/asgi.rst +++ b/docs/asgi.rst @@ -448,13 +448,14 @@ Keys: * ``headers``: Dict of ``{name: value}``, where ``name`` is the lowercased HTTP header name as byte string and ``value`` is the header value as a byte string. If multiple headers with the same name are received, they should - be concatenated into a single header as per RFC 2616. + be concatenated into a single header as per RFC 2616. Header names containing + underscores should be discarded by the server. * ``body``: Body of the request, as a byte string. Optional, defaults to empty string. If ``body_channel`` is set, treat as start of body and concatenate on further chunks. -* ``body_channel``: Single-reader unicode string channel name that contains +* ``body_channel``: Single-reader channel name that contains Request Body Chunk messages representing a large request body. Optional, defaults to None. Chunks append to ``body`` if set. Presence of a channel indicates at least one Request Body Chunk message needs to be read,