fix for correctly detecting content-type header.
updated content-type checking.
Merge pull request #7 from oodgaard/contentType

fix for correctly detecting content-type header.