Check for undefined content type
Merge pull request #17 from adamloving/undefined-content-type

Check for undefined content type