Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
0c0859f1
Commit
0c0859f1
authored
Jun 25, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4026 from edx/db/requests-2
Upgrade `requests` module
parents
4c5c00da
cfec580a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
common/djangoapps/terrain/stubs/lti.py
+1
-1
common/lib/xmodule/xmodule/lti_2_util.py
+1
-1
docs/shared/requirements.txt
+2
-2
requirements/edx/base.txt
+3
-3
No files found.
common/djangoapps/terrain/stubs/lti.py
View file @
0c0859f1
...
...
@@ -256,7 +256,7 @@ class StubLtiHandler(StubHttpRequestHandler):
sha1
=
hashlib
.
sha1
()
sha1
.
update
(
body
)
oauth_body_hash
=
unicode
(
base64
.
b64encode
(
sha1
.
digest
()))
# pylint: disable=too-many-function-args
params
=
client
.
get_oauth_params
()
params
=
client
.
get_oauth_params
(
None
)
params
.
append
((
u'oauth_body_hash'
,
oauth_body_hash
))
mock_request
=
mock
.
Mock
(
uri
=
unicode
(
urllib
.
unquote
(
url
)),
...
...
common/lib/xmodule/xmodule/lti_2_util.py
View file @
0c0859f1
...
...
@@ -106,7 +106,7 @@ class LTI20ModuleMixin(object):
log
.
debug
(
"[LTI] oauth_body_hash = {}"
.
format
(
oauth_body_hash
))
client_key
,
client_secret
=
self
.
get_client_key_secret
()
client
=
Client
(
client_key
,
client_secret
)
params
=
client
.
get_oauth_params
()
params
=
client
.
get_oauth_params
(
None
)
params
.
append
((
u'oauth_body_hash'
,
oauth_body_hash
))
mock_request
=
mock
.
Mock
(
uri
=
unicode
(
urllib
.
unquote
(
request
.
url
)),
...
...
docs/shared/requirements.txt
View file @
0c0859f1
...
...
@@ -37,7 +37,7 @@ Markdown==2.2.1
mock==1.0.1
networkx==1.7
nltk==2.0.4
oauthlib==0.
5.1
oauthlib==0.
6.3
paramiko==1.9.0
path.py==3.0.1
Pillow==1.7.8
...
...
@@ -50,7 +50,7 @@ python-memcached==1.48
python-openid==2.2.5
pytz==2012h
PyYAML==3.10
requests==
1.2.3
requests==
2.3.0
Shapely==1.2.16
sorl-thumbnail==11.12
South==0.7.6
...
...
requirements/edx/base.txt
View file @
0c0859f1
...
...
@@ -47,7 +47,7 @@ mongoengine==0.7.10
networkx==1.7
nltk==2.0.4
nose==1.3.3
oauthlib==0.
5.1
oauthlib==0.
6.3
paramiko==1.9.0
path.py==3.0.1
Pillow==1.7.8
...
...
@@ -65,8 +65,8 @@ python-social-auth==0.1.23
pytz==2012h
pysrt==0.4.7
PyYAML==3.10
requests==
1.2.3
requests-oauthlib==0.4.
0
requests==
2.3.0
requests-oauthlib==0.4.
1
scipy==0.11.0
Shapely==1.2.16
singledispatch==3.4.0.2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment