Merge "Add support for setting Accept-Language header"

This commit is contained in:
Jenkins
2015-10-14 15:25:03 +00:00
committed by Gerrit Code Review
4 changed files with 30 additions and 0 deletions
+2
View File
@@ -27,6 +27,8 @@ class Client(object):
:param string token: Token for authentication.
:param integer timeout: Allows customization of the timeout for client
http requests. (optional)
:param string language_header: Set Accept-Language header to be sent in
requests to glance.
"""
def __init__(self, endpoint=None, **kwargs):