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
99841be6
Commit
99841be6
authored
Sep 16, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docstring on ssencrypt.body_string to be more useful.
parent
ab6018a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lms/djangoapps/verify_student/ssencrypt.py
+3
-3
No files found.
lms/djangoapps/verify_student/ssencrypt.py
View file @
99841be6
...
@@ -164,9 +164,9 @@ def header_string(headers_dict):
...
@@ -164,9 +164,9 @@ def header_string(headers_dict):
def
body_string
(
body_dict
,
prefix
=
""
):
def
body_string
(
body_dict
,
prefix
=
""
):
"""
"""
This version actually doesn't support nested lists and dicts. The code f
or
Return a canonical string representation of the body of a JSON request
or
that was a little gnarly and we don't use that functionality, so there's no
response. This canonical representation will be used as an input to the
real test for correctness
.
hashing used to generate a signature
.
"""
"""
body_list
=
[]
body_list
=
[]
for
key
,
value
in
sorted
(
body_dict
.
items
()):
for
key
,
value
in
sorted
(
body_dict
.
items
()):
...
...
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