@classmethod<EOL><INDENT>def get_cookie_string(cls, url, user_agent=None, **kwargs):<DEDENT>
tokens, user_agent = cls.get_tokens(url, user_agent=user_agent, **kwargs)<EOL>return "<STR_LIT>".join("<STR_LIT:=>".join(pair) for pair in tokens.items()), user_agent<EOL>
Convenience function for building a Cookie HTTP header value.