From 0bef0fbff5c245668578a43774d8620bdba4a6f7 Mon Sep 17 00:00:00 2001 From: kadabusha <47604788+kadabusha@users.noreply.github.com> Date: Tue, 19 Jul 2022 14:25:20 +0300 Subject: Fix for headers disorder issue (#721) * Fix for headers disorder issue Related issue #715 * Added comment with reference to issue Needed to trigger tests once more time. * Fix for hardcoded value in docs after adding sort to jwt/api_jws.py * Removed unneeded comment - issue #721 --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/index.rst b/docs/index.rst index 63e6794..5cdf565 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -32,7 +32,7 @@ Example Usage >>> import jwt >>> encoded_jwt = jwt.encode({"some": "payload"}, "secret", algorithm="HS256") >>> print(encoded_jwt) - eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzb21lIjoicGF5bG9hZCJ9.Joh1R2dYzkRvDkqv3sygm5YyK8Gi4ShZqbhK2gxcs2U + eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg >>> jwt.decode(encoded_jwt, "secret", algorithms=["HS256"]) {'some': 'payload'} -- cgit v1.2.1