Coverage for rest_framework/response : - 98% -
-
- From f2e6af89755c34083acb1a5fcd843a480037293f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 21 Jun 2013 22:04:38 +0100 Subject: Remove erronous htmlcov files --- htmlcov/rest_framework_response.html | 249 ----------------------------------- 1 file changed, 249 deletions(-) delete mode 100644 htmlcov/rest_framework_response.html (limited to 'htmlcov/rest_framework_response.html') diff --git a/htmlcov/rest_framework_response.html b/htmlcov/rest_framework_response.html deleted file mode 100644 index d297ecd0..00000000 --- a/htmlcov/rest_framework_response.html +++ /dev/null @@ -1,249 +0,0 @@ - - -
- - - - -
-
-Hot-keys on this page
-- r - m - x - p toggle line displays -
-- j - k next/prev highlighted chunk -
-- 0 (zero) top of page -
-- 1 (one) first highlighted chunk -
-| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | -
- """ -The Response class in REST framework is similar to HTTPResponse, except that -it is initialized with unrendered data, instead of a pre-rendered string. -- The appropriate renderer is called during Django's template response rendering. -""" - - - - -- - - """ -An HttpResponse that allows its data to be rendered into -arbitrary media types. -""" -- - template_name=None, headers=None, -exception=False, content_type=None): -""" -Alters the init arguments slightly. -For example, drop 'template_name', and instead use 'data'. -- Setting 'renderer' and 'media_type' will typically be deferred, -For example being set automatically by the `APIView`. -""" - - - - - -- - - - - - def rendered_content(self): - - - -- - - - - - - - - - - - content_type = media_type - -- - - - 'a charset value.' - - -- - def status_text(self): -""" -Returns reason text corresponding to our HTTP response status code. -Provided for convenience. -""" -# TODO: Deprecate and use a template tag instead -# TODO: Status code text for RFC 6585 status codes - -- - """ -Remove attributes from the response that shouldn't be cached -""" - - - - - - - |
-