]> granicus.if.org Git - python/commit
Add content-type header to ftp URLs (SF patch #454553)
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 27 Aug 2001 20:16:53 +0000 (20:16 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 27 Aug 2001 20:16:53 +0000 (20:16 +0000)
commit6d8c1aabff765d4958132f750a968769e7cece13
tree617d67c72baf597fea0176a99972bc309a7e195c
parent53da3178011d5eaf143d6d9d76274a7530204179
Add content-type header to ftp URLs (SF patch #454553)

Modify rfc822.formatdate() to always generate English names,
regardless of locale.  This is required by RFC 1123.

In open_local_file() of urllib and urllib2, use new formatdate() from
rfc822.
Lib/rfc822.py
Lib/urllib.py
Lib/urllib2.py