Repository URL to install this package:
Version:
3.4.35 ▾
|
ó ªEYc @ sz d Z d d l Z d e f d YZ d Z d Z d Z d Z e d Z d e d Z d e d Z d S( s# Routines to generate WSGI responsesiÿÿÿÿNt HeaderDictc B s e Z d Z d Z d Z d Z d Z e Z d d Z d d Z d Z d Z d Z d Z d Z d Z e e Z RS( sI This represents response headers. It handles the headers as a dictionary, with case-insensitive keys. Also there is an ``.add(key, value)`` method, which sets the key, or adds the value to the current value (turning it into a list if necessary). For passing to WSGI there is a ``.headeritems()`` method which is like ``.items()`` but unpacks value that are lists. It also handles encoding -- all headers are encoded in ASCII (if they are unicode). @@: Should that encoding be ISO-8859-1 or UTF-8? I'm not sure what the spec says. c C s t j | | j | S( N( t dictt __getitem__t normalize( t selft key( ( sC /home/tvault/.virtenv/lib/python2.7/site-packages/paste/response.pyR s c C s t j | | j | | d S( N( R t __setitem__R ( R R t value( ( sC /home/tvault/.virtenv/lib/python2.7/site-packages/paste/response.pyR s c C s t j | | j | d S( N( R t __delitem__R ( R R ( ( sC /home/tvault/.virtenv/lib/python2.7/site-packages/paste/response.pyR # s c C s t j | | j | S( N( R t __contains__R ( R R ( ( sC /home/tvault/.virtenv/lib/python2.7/site-packages/paste/response.pyR &