'Performs a simulated ``DELETE`` request to the provided URI.
Optionally accepts a ``data`` kwarg, which in the case of ``DELETE``,
lets you send along ``DELETE`` parameters. This is useful when testing
filtering or other things that read off the ``DELETE`` params.
Example::
from tastypie.test import TestApiClient
client = TestApiClient()
response = client.delete(\'/api/v1/entry/1/\',
data={\'format\': \'json\'})
Optionally accepts an ``authentication`` kwarg, which should be an HTTP
header with the correct authentication data already setup.
All other ``**kwargs`` passed in get passed through to the Django
``TestClient``. See
https://docs.djangoproject.com/en/dev/topics/testing/#module-django.test.client
for details.'

def delete(self, uri, format=u'json', data=None, authentication=None, **kwargs):

    content_type = self.get_content_type(format)
    kwargs[u'content_type'] = content_type
    if (data is not None):
        kwargs[u'data'] = data
    if (authentication is not None):
        kwargs[u'HTTP_AUTHORIZATION'] = authentication
    return self.client.delete(uri, **kwargs)
