Python: get post parameters from response object (requests)

In requests, response object has PreparedRequest object and it only contains ‘raw’ post request parameters (not as dict).

To parse the raw params to dict using urlparse.parse_qs method works, but it makes values to list despite a single value.

In Django, using django.http.QueryDict works fine!


メールアドレスが公開されることはありません。 * が付いている欄は必須項目です