README.md in s3_website-1.4.5 vs README.md in s3_website-1.5.0

- old
+ new

@@ -132,10 +132,22 @@ ``` Remember that the extensions here are referring to the *compiled* extensions, not the pre-processed extensions. +### Specifying a MIME type for files without extensions + +`s3_website` will look up the MIME type of each file it uploads, and infer the Content-Type from it automatically. By default, files without an extension will have a blank Content-Type. + +You can specify a default MIME type for files without an extension using a line like this in `s3_website.yml`: + +```yaml +extensionless_mime_type: text/html +``` + +This is useful when you are uploading HTML files for which you want 'clean' URLs, e.g. `www.domain.com/info`. + ### Using non-standard AWS regions By default, `s3_website` uses the US Standard Region. You can upload your website to other regions by adding the setting `s3_endpoint` into the `s3_website.yml` file. @@ -390,7 +402,8 @@ * Michael Bleigh * Philippe Creux * Shigeaki Matsumura * stanislas * Tate Johnson +* Toby Marsden * Trevor Fitzgerald * Zee Spencer