Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/encode/django-rest-framework
/ get
Method
get
tests/test_renderers.py:77–78 ·
view source on GitHub ↗
(self, request, **kwargs)
Source
from the content-addressed store, hash-verified
75
renderer_classes = (RendererA, RendererB)
76
77
def
get(self, request, **kwargs):
78
return
Response(DUMMYCONTENT, status=DUMMYSTATUS)
79
80
81
class
MockGETView(APIView):
Callers
15
test_only_permitted_forms_are_displayed
Method · 0.45
test_default_renderer_serializes_content
Method · 0.45
test_default_renderer_serializes_content_on_accept_any
Method · 0.45
test_specified_renderer_serializes_content_default_case
Method · 0.45
test_specified_renderer_serializes_content_non_default_case
Method · 0.45
test_unsatisfiable_accept_header_on_request_returns_406_status
Method · 0.45
test_specified_renderer_serializes_content_on_format_query
Method · 0.45
test_specified_renderer_serializes_content_on_format_kwargs
Method · 0.45
test_specified_renderer_is_used_on_format_query_with_matching_accept
Method · 0.45
test_204_no_content_responses_have_no_content_type_set
Method · 0.45
test_contains_headers_of_api_response
Method · 0.45
test_head_caching
Method · 0.45
Calls
1
Response
Class · 0.90
Tested by
no test coverage detected