SimonSapin/Frozen-Flask — pull request #6 by equalsraf (2011-10-19 18:37:51+00:00)
Title: Add setting to override default mimetype 

Hi.

This adds a new setting FREEZER_GUESSED_MIMETYPE that is used as the default mimetype instead of application/octet-stream. For example, this allows us to generate sites for servers where the default mimetype is text/html and/or we can't change the original view url to use the (.html) extension.

The patch changes the freeze() method to handle files with the given default mimetype, and the serve() method to serve files with no mimetype with the same value.