Home | History | Annotate | Download | only in paste

Lines Matching refs:response_headers

11 manner that supports WSGI ``environ`` [2]_ and ``response_headers``
15 the ``environ`` for requests, or ``response_headers`` for responses).
24 - a ``response_headers`` list, giving a comma-delimited string for
43 the given collection (``environ`` or ``response_headers``), e.g.,
50 for example: ``CONTENT_LENGTH(response_headers,len(body))``
53 ``response_headers`` list; remaining arguments are passed on to
83 ``response_headers``. This module knows about those cases and
88 between ``environ`` dictionary or ``response_headers`` list.
188 ``response_headers`` as appropriate. Typically, a sub-classes that
194 WSGI ``environ`` dictionary, or a ``response_headers`` list.
251 5 for extending ``response_headers``
389 to be a WSGI ``response_headers`` and the field-value(s)
571 def normalize_headers(response_headers, strict=True):
575 This alters the underlying response_headers to use the common
581 for idx in range(len(response_headers)):
582 (key, val) = response_headers[idx]
587 response_headers[idx] = (newhead, val)
590 response_headers[idx] = (str(head), val)
595 response_headers.sort(key=key_func)