allow empty string for version and user_agent