Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

urllib.error.HTTPError: HTTP Error 502 docker redis

# First, add
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
# then type
html = urllib.request.urlopen(req).read()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #HTTP #Error #docker #redis
ADD COMMENT
Topic
Name
6+5 =