Avoid exception on empty content-type