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

Method request

rest_framework/test.py:112–115  ·  view source on GitHub ↗
(self, method, url, *args, **kwargs)

Source from the content-addressed store, hash-verified

110 self.mount('https://', adapter)
111
112 def request(self, method, url, *args, **kwargs):
113 if not url.startswith('http'):
114 raise ValueError('Missing "http:" or "https:". Use a fully qualified URL, eg "http://testserver%s"' % url)
115 return super().request(method, url, *args, **kwargs)
116
117else:
118 def RequestsClient(*args, **kwargs):

Callers

nothing calls this directly

Calls 1

requestMethod · 0.45

Tested by

no test coverage detected