Skip to content

Commit d568f47

Browse files
E8Pricenateprewitt
andauthored
docs: clarify Quickstart POST example (#6960)
(fixes #6949) --------- Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
1 parent b2a1d33 commit d568f47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/user/quickstart.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ use the same key::
271271
},
272272
...
273273
}
274-
>>> r1.text == r2.text
274+
>>> # httpbin may embed non-deterministic metadata,
275+
>>> # so we only compare our submitted data here.
276+
>>> r1.json()['form'] == r2.json()['form']
275277
True
276278

277279
There are times that you may want to send data that is not form-encoded. If

0 commit comments

Comments
 (0)