Ñò
ñG“Ic @ s^ d Z d d k l Z y e Wn# e j
o d d k l Z n Xd e f d „ ƒ YZ d S( sB
Represents the response header list as a dictionary-like object.
iÿÿÿÿ( t MultiDict( t reversedt
HeaderDictc B sq e Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
e
Z d d „ Z
d
„ Z RS( s`
Like a MultiDict, this wraps a list. Keys are normalized
for case and whitespace.
c C s t | ƒ i ƒ i ƒ S( N( t strt lowert strip( t selft key( ( s4 /usr/lib/python2.6/site-packages/webob/headerdict.pyt normalize s c C s] | i } | | ƒ } x5 t | i ƒ D]$ \ } } | | ƒ | j o | Sq% Wt | ƒ ‚ d S( N( R R t _itemst KeyError( R R R t kt v( ( s4 /usr/lib/python2.6/site-packages/webob/headerdict.pyt __getitem__ s c C s] | i } | | ƒ } g } x; | i D]0 \ } } | | ƒ | j o | i | ƒ q% q% W| S( N( R R t append( R R R t resultR R ( ( s4 /usr/lib/python2.6/site-packages/webob/headerdict.pyt getall s
c C s h } h } | i } x | i ƒ D]s \ } } | | ƒ } | | j oD | | j o | | i | ƒ q• | | | g | |