'Handles responding to requests for the OPTIONS HTTP verb.'

def options(self, request, *args, **kwargs):

    response = http.HttpResponse()
    response[u'Allow'] = u',    '.join(self._allowed_methods())
    response[u'Content-Length'] = u'0'
    return response
