Skip to content

Commit

Permalink
Update User Agent format to RFC 7231 standard
Browse files Browse the repository at this point in the history
  • Loading branch information
eengoron committed Dec 13, 2019
1 parent 2227382 commit 0197b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion closeio_api/__init__.py
Expand Up @@ -49,7 +49,7 @@ def __init__(self, base_url, api_key=None, tz_offset=None, max_retries=5,
self.session.auth = (api_key, '')

self.session.headers.update({
'User-Agent': 'python closeio v{} {}'.format(
'User-Agent': 'Close/{} {}'.format(
__version__,
requests.utils.default_user_agent()
),
Expand Down

0 comments on commit 0197b48

Please sign in to comment.