瀏覽代碼

chore: allow download audio/video through HTTP node (#7224)

tags/0.7.0
非法操作 1 年之前
父節點
當前提交
3a27166c2e
No account linked to committer's email address
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0
    3
      api/core/workflow/nodes/http_request/http_request_node.py

+ 0
- 3
api/core/workflow/nodes/http_request/http_request_node.py 查看文件

@@ -133,9 +133,6 @@ class HttpRequestNode(BaseNode):
"""
files = []
mimetype, file_binary = response.extract_file()
# if not image, return directly
if 'image' not in mimetype:
return files

if mimetype:
# extract filename from url

Loading…
取消
儲存