get content-type even if can't get other headers. fixes #181
Merge pull request #182 from superjoe30/patch-1

get content-type even if can't get other headers. fixes #181