Show More
@@ -23,7 +23,7 b' import os' | |||
|
23 | 23 | import stat |
|
24 | 24 | import urllib |
|
25 | 25 | import urllib2 |
|
26 |
import email. |
|
|
26 | import email.Utils | |
|
27 | 27 | |
|
28 | 28 | try: |
|
29 | 29 | from cStringIO import StringIO |
@@ -214,7 +214,7 b' class FileRangeHandler(urllib2.FileHandl' | |||
|
214 | 214 | localfile = urllib.url2pathname(file) |
|
215 | 215 | stats = os.stat(localfile) |
|
216 | 216 | size = stats[stat.ST_SIZE] |
|
217 |
modified = email. |
|
|
217 | modified = email.Utils.formatdate(stats[stat.ST_MTIME]) | |
|
218 | 218 | mtype = mimetypes.guess_type(file)[0] |
|
219 | 219 | if host: |
|
220 | 220 | host, port = urllib.splitport(host) |
General Comments 0
You need to be logged in to leave comments.
Login now