diff --git a/lib/ansible/module_utils/urls.py b/lib/ansible/module_utils/urls.py index a13e985abd..c896abdf74 100644 --- a/lib/ansible/module_utils/urls.py +++ b/lib/ansible/module_utils/urls.py @@ -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::