From 847511ca237e3f54b684aa45f8df3bd5389f4500 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 12 Oct 2016 15:26:29 +0100 Subject: [PATCH] Most minimal possible change --- rest_framework/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/request.py b/rest_framework/request.py index dc7e453f4..7121689d2 100644 --- a/rest_framework/request.py +++ b/rest_framework/request.py @@ -300,7 +300,7 @@ class Request(object): if stream is None or media_type is None: if media_type and not is_form_media_type(media_type): - empty_data = MultiValueDict() + empty_data = QueryDict('', encoding=self._request._encoding) else: empty_data = {} empty_files = MultiValueDict()