wsgi/__init__.py
changeset 10594 6a55853f14c9
parent 9735 b71158815bc8
child 10605 61521bee2b68
equal deleted inserted replaced
10593:03ce3d24db87 10594:6a55853f14c9
    26 """
    26 """
    27 __docformat__ = "restructuredtext en"
    27 __docformat__ = "restructuredtext en"
    28 
    28 
    29 from email import message, message_from_string
    29 from email import message, message_from_string
    30 from Cookie import SimpleCookie
    30 from Cookie import SimpleCookie
    31 from StringIO import StringIO
       
    32 from cgi import parse_header
       
    33 from pprint import pformat as _pformat
    31 from pprint import pformat as _pformat
    34 
    32 
    35 
    33 
    36 def pformat(obj):
    34 def pformat(obj):
    37     """pretty prints `obj` if possible"""
    35     """pretty prints `obj` if possible"""