'Non-ASCII data as a non-UTF based encoding can be POSTed.'

def test_non_utf_payload(self):

    text = 'dog:    \xd1\x81\xd0\xbe\xd0\xb1\xd0\xb0\xd0\xba\xd0\xb0'
    response = self.client.post('/parse_encoded_text/', text, content_type='text/plain;    charset=koi8-r')
    self.assertEqual(response.content, text.encode('koi8-r'))
