Ver código fonte

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

tags/0.7.0
非法操作 1 ano atrás
pai
commit
3a27166c2e
Nenhuma conta vinculada ao e-mail do autor do commit

+ 0
- 3
api/core/workflow/nodes/http_request/http_request_node.py Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar