summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs/helpers.rst
diff options
context:
space:
mode:
authorBarry Warsaw2014-11-06 20:39:25 -0500
committerBarry Warsaw2014-11-06 20:39:25 -0500
commit59f980abc3aa10e0ff8a3d38ed91d69f68b194ed (patch)
treed5a63195a5dbe702cf6b8c0c51f474cae8b0e2c0 /src/mailman/rest/docs/helpers.rst
parent9b19d1a9d77e71afc0783f22496bd623eda3024b (diff)
downloadmailman-59f980abc3aa10e0ff8a3d38ed91d69f68b194ed.tar.gz
mailman-59f980abc3aa10e0ff8a3d38ed91d69f68b194ed.tar.zst
mailman-59f980abc3aa10e0ff8a3d38ed91d69f68b194ed.zip
Diffstat (limited to 'src/mailman/rest/docs/helpers.rst')
-rw-r--r--src/mailman/rest/docs/helpers.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/docs/helpers.rst b/src/mailman/rest/docs/helpers.rst
index 68dfda1be..5bcf5cad4 100644
--- a/src/mailman/rest/docs/helpers.rst
+++ b/src/mailman/rest/docs/helpers.rst
@@ -45,7 +45,7 @@ gets modified to contain the etag under the ``http_etag`` key.
>>> resource = dict(geddy='bass', alex='guitar', neil='drums')
>>> json_data = etag(resource)
>>> print(resource['http_etag'])
- "43942176d8d5bb4414ccf35e2720ccd5251e66da"
+ "96e036d66248cab746b7d97047e08896fcfb2493"
For convenience, the etag function also returns the JSON representation of the
dictionary after tagging, since that's almost always what you want.
@@ -58,7 +58,7 @@ dictionary after tagging, since that's almost always what you want.
>>> dump_msgdata(data)
alex : guitar
geddy : bass
- http_etag: "43942176d8d5bb4414ccf35e2720ccd5251e66da"
+ http_etag: "96e036d66248cab746b7d97047e08896fcfb2493"
neil : drums