'Request a response from the server using OPTIONS.'

def options(self, path, data={}, follow=False, **extra):

    parsed = urlparse(path)
    r = {'PATH_INFO': self._get_path(parsed), 'QUERY_STRING': (urlencode(data, doseq=True) or parsed[4]), 'REQUEST_METHOD': 'OPTIONS', 'wsgi.input': FakePayload('')}
    r.update(extra)
    response = self.request(**r)
    if follow:
        response = self._handle_redirects(response, **extra)
    return response
