From: Bryan Helmig Date: Thu, 5 Jan 2012 20:11:19 +0000 (-0600) Subject: mention of error modes in quickstart X-Git-Tag: v0.9.1~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa39fb0c80f3b5aeb82785288bf351ddae7c4ed5;p=services%2Fpython-requests.git mention of error modes in quickstart --- diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 3474117..551d0c3 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -364,6 +364,10 @@ If a request exceeds the configured number of maximum redirections, a :class:`To All exceptions that Requests explicitly raises inherit from :class:`requests.exceptions.RequestException`. +You can refer to :ref:`Configuration API Docs ` for immediate raising of :class:`HTTPError` exceptions +via the ``danger_mode`` option or have Requests catch the majority of :class:`requests.exceptions.RequestException` exceptions +with the ``safe_mode`` option. + ----------------------- Ready for more? Check out the :ref:`advanced ` section.