Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2bc0866

Browse filesBrowse files
committed
pass the api version to HTTPBackend
1 parent b3bbfd7 commit 2bc0866
Copy full SHA for 2bc0866

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎zencoder/core.py

Copy file name to clipboardExpand all lines: zencoder/core.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class HTTPBackend(object):
3636
3737
@FIXME: Build in support for supplying arbitrary backends
3838
"""
39-
def __init__(self, base_url, api_key, as_xml=False, resource_name=None, timeout=None, test=False):
39+
def __init__(self, base_url, api_key, as_xml=False, resource_name=None, timeout=None, test=False, version=None):
4040
"""
4141
Creates an HTTPBackend object, which abstracts out some of the
4242
library specific HTTP stuff.
@@ -49,6 +49,7 @@ def __init__(self, base_url, api_key, as_xml=False, resource_name=None, timeout=
4949
self.as_xml = as_xml
5050
self.api_key = api_key
5151
self.test = test
52+
self.version = version
5253

5354
def content_length(self, body):
5455
"""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.