Skip to content

Commit 04a3371

Browse files
Sudipta MohapatraSudipta Mohapatra
authored andcommitted
Merge commit 'refs/pull/62/head' of github.com:sailthru/sailthru-python-client
2 parents cc49532 + c9ffffb commit 04a3371

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGES

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@
2020

2121
2.3.0
2222
====
23-
- Added support to get Rate Limiting headers
23+
- Added support to get Rate Limiting headers
24+
25+
2.3.1
26+
====
27+
- Misc bug fixes

sailthru/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
__doc__ = 'Python binding for Sailthru API based on Requests'
77
__copyright__ = 'Copyright 2012-2015, Sailthru Inc.'
88
__license__ = 'MIT'
9-
__version__ = '2.2.1'
9+
__version__ = '2.3.1'

sailthru/sailthru_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def sailthru_http_request(url, data, method, file_data=None):
3636
params, data = (None, data) if method == 'POST' else (data, None)
3737

3838
try:
39-
headers = {'User-Agent': 'Sailthru API Python Client %s; Python Version: %s' % ('2.3.0', platform.python_version())}
39+
headers = {'User-Agent': 'Sailthru API Python Client %s; Python Version: %s' % ('2.3.1', platform.python_version())}
4040
response = requests.request(method, url, params=params, data=data, files=file_data, headers=headers, timeout=10)
4141
return SailthruResponse(response)
4242
except requests.HTTPError as e:

0 commit comments

Comments
 (0)