Submitting a fix for issue #5

Submitting a fix for issue #5 - null pointer exception crash when getting a post with no content type header