Skip to content

fix: #24292 HTTP Request Node Unable to Access File from Start Node When Using Remote URL in Workflow API Call#24293

Merged
crazywoola merged 4 commits intolanggenius:mainfrom
dlmu-lq:fix_http_request_api_remote_url
Aug 23, 2025
Merged

fix: #24292 HTTP Request Node Unable to Access File from Start Node When Using Remote URL in Workflow API Call#24293
crazywoola merged 4 commits intolanggenius:mainfrom
dlmu-lq:fix_http_request_api_remote_url

Conversation

@dlmu-lq
Copy link
Copy Markdown
Contributor

@dlmu-lq dlmu-lq commented Aug 21, 2025

…hen Using Remote URL in Workflow API Call

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

Fixes #24292

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

…art Node When Using Remote URL in Workflow API Call
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 21, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where the HTTP Request Node was unable to access files from the Start Node when using remote URLs in workflow API calls. The fix expands the file handling logic to properly process files that use remote URL transfer method.

  • Adds proper handling for files with remote URL transfer method in HTTP request body initialization
  • Imports the FileTransferMethod enum to support the new conditional logic

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 23, 2025
@crazywoola crazywoola merged commit b84bb41 into langgenius:main Aug 23, 2025
7 checks passed
qiaofenlin pushed a commit to qiaofenlin/dify that referenced this pull request Aug 24, 2025
…art Node When Using Remote URL in Workflow API Call (langgenius#24293)

Co-authored-by: 李强04 <liqiang04@gaotu.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@lyzno1 lyzno1 mentioned this pull request Aug 25, 2025
qiqizjl pushed a commit to qiqizjl/dify that referenced this pull request Aug 27, 2025
…art Node When Using Remote URL in Workflow API Call (langgenius#24293)

Co-authored-by: 李强04 <liqiang04@gaotu.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
HarryReidx pushed a commit to HarryReidx/dify that referenced this pull request Sep 1, 2025
…art Node When Using Remote URL in Workflow API Call (langgenius#24293)

Co-authored-by: 李强04 <liqiang04@gaotu.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
(cherry picked from commit b84bb41)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP Request Node Unable to Access File from Start Node When Using Remote URL in Workflow API Call

3 participants