From 45a323024c7a7008df3e319a8a1437fae53826f9 Mon Sep 17 00:00:00 2001 From: Harrison Gregg Date: Sun, 30 Apr 2017 19:14:47 -0400 Subject: [PATCH] Add documentation for dropping fields in from_response request body --- docs/topics/request-response.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index 67f8ec285..5410654ef 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -417,7 +417,9 @@ fields with form data from :class:`Response` objects. :param formdata: fields to override in the form data. If a field was already present in the response ``
`` element, its value is - overridden by the one passed in this parameter. + overridden by the one passed in this parameter. If a value passed in + this parameter is ``None``, the field will not be included in the + request, even if it was present in the response ```` element. :type formdata: dict :param clickdata: attributes to lookup the control clicked. If it's not