Content Type Headers with s3_website Deployments

Mar 8, 2016 using tags s3_website, s3

If you unexpectedly find the content type for your s3_website-deployed html to be:

Content-Type: application/xhtml+xml

You probably need to adjust your DOCTYPE and html directives from:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr" lang="en">

to:

<!DOCTYPE html>
<html>

(original source)