Skip to content

Conversation

juntuu
Copy link
Contributor

@juntuu juntuu commented Jul 9, 2024

Fixes #601

Previously the URL could be accidentally reused between requests.

    local curl = require "plenary.curl"
    curl.get("url", { dry_run = true }) -- { ..., "-X", "GET", "url" }
    curl.get({ dry_run = true })        -- { ..., "-X", "GET", "url" }
@Conni2461
Copy link
Collaborator

thanks :)

@Conni2461 Conni2461 merged commit f031bef into nvim-lua:master Feb 11, 2025
6 of 7 checks passed
@juntuu juntuu deleted the fix-curl-url-reuse branch February 13, 2025 21:34
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.

Curl module may accidentally reuse URL

2 participants