Skip to content

Commit 655302f

Browse files
committed
Fixed timeout bug in PATCH HTTP action
1 parent fcacfa7 commit 655302f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

http/1.4.0/src/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ def PATCH(self, url, headers="", body="", username="", password="", verify=True,
304304
else:
305305
auth = requests.auth.HTTPBasicAuth(username, password)
306306

307+
if not timeout:
308+
timeout = 5
309+
if timeout:
310+
timeout = int(timeout)
311+
307312
if to_file == "true":
308313
to_file = True
309314
else:

shuffle-tools/1.2.0/api.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ actions:
282282
required: false
283283
multiline: false
284284
example: "domains,urls,email_addresses,ipv4s,ipv4_cidrs,ipv6s,md5s,sha256s,sha1s,cves"
285+
value: "domains,urls,ipv4s,md5s,sha1s"
286+
multiselect: true
285287
schema:
286288
type: string
287289
returns:

0 commit comments

Comments
 (0)