aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/test_request.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/tests/test_request.py')
-rw-r--r--rest_framework/tests/test_request.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest_framework/tests/test_request.py b/rest_framework/tests/test_request.py
index a60e7615..c0b50f33 100644
--- a/rest_framework/tests/test_request.py
+++ b/rest_framework/tests/test_request.py
@@ -68,6 +68,9 @@ class TestMethodOverloading(TestCase):
request = Request(factory.post('/', {'foo': 'bar'}, HTTP_X_HTTP_METHOD_OVERRIDE='DELETE'))
self.assertEqual(request.method, 'DELETE')
+ request = Request(factory.get('/', {'foo': 'bar'}, HTTP_X_HTTP_METHOD_OVERRIDE='DELETE'))
+ self.assertEqual(request.method, 'DELETE')
+
class TestContentParsing(TestCase):
def test_standard_behaviour_determines_no_content_GET(self):