消息 [54282]
Logged In: YES
user_id=341410
While I agree with the original poster that returning '.txt'
is preferable to the others in the list returned by
mimetypes.guess_all_extensions() at least 9 times out of 10,
being able to prioritize all of the types is not necessarily
the easiest thing to do for all of the possible returned lists.
Is using a custom comparison function along with the list
returned by guess_all_extensions() sufficient? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2007-08-23 16:08:29 | admin | 链接 | issue1043134 messages |
| 2007-08-23 16:08:29 | admin | 创建 | |
|