Proper JSON handling for :=/:=@ (#1213)

* Proper JSON handling for :=/:=@

* document the behavior

* fixup docs
This commit is contained in:
Batuhan Taskaya
2021-11-26 14:45:46 +03:00
committed by GitHub
parent 0fc6331ee0
commit 6bdcdf1eba
6 changed files with 76 additions and 9 deletions

View File

@ -132,7 +132,7 @@ class TestItemParsing:
self.key_value_arg('text_field=a'),
self.key_value_arg('text_field=b')
],
as_form=True,
request_type=constants.RequestType.FORM,
)
assert items.data['text_field'] == ['a', 'b']
assert list(items.data.items()) == [