Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implementing http_file_curl and test #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lnpotter
Copy link
Contributor

@lnpotter lnpotter commented Oct 8, 2024

  • The http_file_curl enables users to perform asynchronous file downloads using the cURL command. It constructs a curl command based on the specified HTTP method and URL, allowing the request to run in the background.
  • The unit test for the http_file_curl with a GET request verifies that the function correctly initiates a file download using the GET method. It simulates a response from the cURL command and checks if the returned status and body match the expected values.

This PR covers #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant