119
124
# There's no way in http/1.0 to say "must revalidate"; we don't want
120
125
# to force it to always retrieve. so just turn off the default Pragma
124
129
## curl.setopt(pycurl.VERBOSE, 1)
127
132
curl.setopt(pycurl.USERAGENT, ua_str)
128
133
curl.setopt(pycurl.HTTPHEADER, headers)
129
134
curl.setopt(pycurl.FOLLOWLOCATION, 1) # follow redirect responses