durusmail: quixote-users: StaticFile mime type and encoding
StaticFile mime type and encoding
2003-03-12
2003-03-12
StaticFile mime type and encoding
Andrew Kuchling
2003-03-12
On Tue, Mar 11, 2003 at 04:08:23PM -0800, Jim Dukarm wrote:
>I was wondering whether the StaticFile should perhaps have an
>additional constructor argument "encoding=None", and also not throw
>away the encoding component of what mimetypes.guess_type() returns. My

Good suggestion!  I've incorporated your suggested changes, modifying
the code a bit.

--amk                                                    (www.amk.ca)
Say something, please! "Yes" would be best.
      -- The Doctor, in "Castrovalva"

reply