Correct fetch_url error code documentation (#66061)

HttpError is passed for 400 and above, not only greater than 400. Change docs to `>=` instead of `>`.
pull/56242/head
Kevin Breit 5 years ago committed by Alicia Cozine
parent 2f996fc6e2
commit 633f64f780

@ -1435,7 +1435,7 @@ def fetch_url(module, url, data=None, headers=None, method=None,
:kwarg ca_path: (optional) String of file system path to CA cert bundle to use
:returns: A tuple of (**response**, **info**). Use ``response.read()`` to read the data.
The **info** contains the 'status' and other meta data. When a HttpError (status > 400)
The **info** contains the 'status' and other meta data. When a HttpError (status >= 400)
occurred then ``info['body']`` contains the error response data::
Example::

Loading…
Cancel
Save