fix issue #227: permit use when servers or intermediaries mistakingly miss Content-Type header
Merge pull request #229 from adriancole/graceful-when-missing-mimetype

permit use when servers or intermediaries miss Content-Type header