Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/user/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,13 @@ use the same key::
},
...
}

# Note: httpbin.org adds a changing header ("X-Amzn-Trace-Id") to each response,
# so r1.text == r2.text may be False even if the form data matches.
# Instead, compare the form data in the JSON response:
>>> r1.text == r2.text
False
>>> r1.json()['form'] == r2.json()['form']
True

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