Skip to content

Commit

Permalink
Merge pull request #1864 from dafyddj/fix/403-urls
Browse files Browse the repository at this point in the history
test: adjust User-Agent to fix some checks
  • Loading branch information
twangboy authored May 13, 2021
2 parents b9150ef + 829ce86 commit ec454f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ def process_each(softwares):
printd("version['installer']", version["installer"])
c = curl.Curl()
# c.setopt(curl.WRITEFUNCTION, headers.write)
if debug:
c.setopt(curl.VERBOSE, 1)
c.setopt(curl.URL, version["installer"])
c.setopt(curl.USERAGENT, "curl/7.76.0")
c.setopt(curl.FOLLOWLOCATION, True)
c.setopt(curl.CONNECTTIMEOUT, 2)
c.setopt(curl.TIMEOUT, 5)
Expand Down

0 comments on commit ec454f0

Please sign in to comment.