Thread (5 messages) 5 messages, 2 authors, 2025-04-25

RE: cURL in git for windows does not support HTTP/2 anymore

From: Johannes Schindelin <hidden>
Date: 2025-04-25 11:44:30

Hi Lars,

On Fri, 25 Apr 2025, Lars Eriksen - DSV wrote:
I'm sorry for the confusion, but the problem is not within the git
command itself. This works fine. But we use the distributed curl command
for POSTing data in a custom script when we deploy to production.

So the problem is with how the curl command is built for windows. It
used to be built with HTTP/2 support, now it is not.
I am sorry, but Git for Windows is not really intended as a distribution
model for the `curl.exe` command, it merely is shipped in Git for Windows
because some scripts require it.

Have you tried using the `curl.exe` in `C:\Windows\system32`? If that does
not work, you may need to switch to MSYS2 (which is a proper software
distribution, not a hard-baked one like Git for Windows that includes bits
and pieces necessary to run Git commands).

Ciao,
Johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help