MCPcopy Index your code
hub / github.com/encode/django-rest-framework / options

Method options

rest_framework/test.py:211–213  ·  view source on GitHub ↗
(self, path, data=None, format=None, content_type=None, **extra)

Source from the content-addressed store, hash-verified

209 return self.generic('DELETE', path, data, content_type, **extra)
210
211 def options(self, path, data=None, format=None, content_type=None, **extra):
212 data, content_type = self._encode_data(data, format, content_type)
213 return self.generic('OPTIONS', path, data, content_type, **extra)
214
215 def generic(self, method, path, data='',
216 content_type='application/octet-stream', secure=False, **extra):

Callers

nothing calls this directly

Calls 2

_encode_dataMethod · 0.95
genericMethod · 0.95

Tested by

no test coverage detected