diff --git a/changelogs/server_server/newsfragments/2510 b/changelogs/server_server/newsfragments/2510 new file mode 100644 index 00000000..c9cf10be --- /dev/null +++ b/changelogs/server_server/newsfragments/2510 @@ -0,0 +1 @@ +Fix typo in Request Authentication python example diff --git a/specification/server_server_api.rst b/specification/server_server_api.rst index f0a9a563..655a8cfc 100644 --- a/specification/server_server_api.rst +++ b/specification/server_server_api.rst @@ -316,8 +316,8 @@ Example python code: "destination": destination_name, } - if content_json is not None: - request["content"] = content + if content is not None: + request_json["content"] = content signed_json = sign_json(request_json, origin_name, origin_signing_key)