'Regression test of bug #858403: ensure that a 415 (and not 500) is
raised when an unsupported Content-Type header is passed to an API
endpoint.'

def test_blah_encoded(self):

    r = self.client.post(reverse('app-list'), CONTENT_TYPE='application/blah', data='cvan    was    here')
    eq_(r.status_code, 415)
