Only guess content type when none is given. Fix #65.