guess content type when not available

tries to guess content_type when not available