2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
|
|
|
Long: proxy-http2
|
|
|
|
Tags: Versions HTTP/2
|
|
|
|
Protocols: HTTP
|
|
|
|
Added: 8.1.0
|
|
|
|
Mutexed:
|
|
|
|
Requires: HTTP/2
|
|
|
|
Help: Use HTTP/2 with HTTPS proxy
|
|
|
|
Category: http proxy
|
|
|
|
Multi: boolean
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- proxy
|
|
|
|
Example:
|
|
|
|
- --proxy-http2 -x proxy $URL
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--proxy-http2`
|
|
|
|
|
|
|
|
Negotiate HTTP/2 with an HTTPS proxy. The proxy might still only offer HTTP/1
|
|
|
|
and then curl sticks to using that version.
|
2023-12-11 20:30:44 -05:00
|
|
|
|
|
|
|
This has no effect for any other kinds of proxies.
|