Commit 99841be6 by David Ormsbee

Update docstring on ssencrypt.body_string to be more useful.

parent ab6018a0
...@@ -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 for 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()):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment