⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gen/generator-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packageName": "mux_python",
"projectName": "mux_python",
"licenseInfo" : "MIT",
"packageVersion": "5.1.0"
"packageVersion": "5.1.1"
}
2 changes: 1 addition & 1 deletion gen/templates/rest.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class RESTResponse(io.IOBase):

def getheader(self, name, default=None):
"""Returns a given response header."""
return self.urllib3_response.getheader(name, default)
return self.urllib3_response.headers.get(name, default)


class RESTClientObject(object):
Expand Down
2 changes: 1 addition & 1 deletion mux_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from __future__ import absolute_import

__version__ = "5.1.0"
__version__ = "5.1.1"

# import apis into sdk package
from mux_python.api.annotations_api import AnnotationsApi
Expand Down
2 changes: 1 addition & 1 deletion mux_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Mux Python | 5.1.0'
self.user_agent = 'Mux Python | 5.1.1'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion mux_python/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1\n"\
"SDK Package Version: 5.1.0".\
"SDK Package Version: 5.1.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion mux_python/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def getheaders(self):

def getheader(self, name, default=None):
"""Returns a given response header."""
return self.urllib3_response.getheader(name, default)
return self.urllib3_response.headers.get(name, default)


class RESTClientObject(object):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "mux_python"
VERSION = "5.1.0"
VERSION = "5.1.1"
# To install the library, run the following
#
# python setup.py install
Expand Down