'Request a view with empty string data via request method GET/POST/HEAD'

def test_empty_string_data(self):

    response = self.client.get('/body/', data='', content_type='application/json')
    self.assertEqual(response.content, '')
    response = self.client.post('/body/', data='', content_type='application/json')
    self.assertEqual(response.content, '')
    response = self.client.head('/body/', data='', content_type='application/json')
    self.assertEqual(response.content, '')
