Skip to content

Commit

Permalink
test: show curl verbose output on -d (debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddj committed May 12, 2021
1 parent 32f8c01 commit 829ce86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ 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)
Expand Down

0 comments on commit 829ce86

Please sign in to comment.