Handle fetch_url error gracefully (#23821)
Handle fetch_url error gracefully (#23821)

Fix adds http response code check for fetch_url.
Also, method in fetch_url call.

Fixes https://github.com/ansible/ansible/issues/23800

Signed-off-by: Abhijeet Kasurde <6334fd0c217b1f2a15926284df229acde5b4fc3a@redhat.com>
thaim/ansible,thaim/ansible