Explorar el Código

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

tags/0.7.0
非法操作 hace 1 año
padre
commit
3a27166c2e
No account linked to committer's email address
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar