From 3440fca2e8ef4ab7d80ee1c0cfd75c92bb3f2b74 Mon Sep 17 00:00:00 2001 From: homm Date: Thu, 12 Sep 2013 13:13:51 +0400 Subject: [PATCH] clearly describe `r.raw` in Body Content Workflow --- docs/api.rst | 2 +- docs/user/advanced.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 12ae8a8..444ce2f 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -147,7 +147,7 @@ API Changes * The parameter for streaming requests was changed from ``prefetch`` to ``stream`` and the logic was inverted. In addition, ``stream`` is now - required for chunked response reading. + required for raw response reading. :: diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index 5a8b9b2..5ef0ffd 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -161,7 +161,7 @@ At this point only the response headers have been downloaded and the connection content = r.content ... -You can further control the workflow by use of the :class:`Response.iter_content` and :class:`Response.iter_lines` methods. +You can further control the workflow by use of the :class:`Response.iter_content` and :class:`Response.iter_lines` methods. Also you can read undecoded body from the underlying urllib3 :class:`urllib3.HTTPResponse` at :class:`Response.raw`. Keep-Alive -- 2.34.1