Check for content-type in headers

Not every server is well behaved enough to send a content-type