]> granicus.if.org Git - python/commit
Change by Sjoerd (with minor reformatting):
authorGuido van Rossum <guido@python.org>
Fri, 3 Apr 1998 15:56:16 +0000 (15:56 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Apr 1998 15:56:16 +0000 (15:56 +0000)
commitb5916ab065408111cec262e12dbecbce58daf6ec
treed12fc3f03c0f9cc6b5bd74aba2317eaa2d02e00c
parentfcc6c68e11d78d9d967e5bd255d7506061663338
Change by Sjoerd (with minor reformatting):
  guess the mime type of a local file.

Change suggested by Sjoerd (with different implementation):
  when retrieve() creates a temporary file, preserve the suffix.

Corrollary of the first change:
  also return the mime type of a local file in retrieve().
Lib/urllib.py