checks if content-type is set
Merge pull request #2 from unlooped/master

check if the content-type is set before calling "split" on it.