]> granicus.if.org Git - python/commit
Change Request.add_header to call string.capitalize in order to normalize
authorBrett Cannon <bcannon@gmail.com>
Mon, 12 May 2003 07:29:42 +0000 (07:29 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 12 May 2003 07:29:42 +0000 (07:29 +0000)
commit86503b131b2253c73f8e2f1fceb29c9cf761dc27
treeb35caa50b253faa67682d234cbf2247781e541df
parentbf3a75283ceffa3d54ac941dbf83869f0fa23027
Change Request.add_header to call string.capitalize in order to normalize
headers and not have any dependency on case.  Closes patch #649742.

Also changed all instances of dict.items to dict.iteritems where appropriate.
Lib/urllib2.py