xref: /curl/docs/cmdline-opts/proxy-http2.md (revision e7219c2b)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: proxy-http2
5Tags: Versions HTTP/2
6Protocols: HTTP
7Added: 8.1.0
8Mutexed:
9Requires: HTTP/2
10Help: Use HTTP/2 with HTTPS proxy
11Category: http proxy
12Multi: boolean
13See-also:
14  - proxy
15Example:
16  - --proxy-http2 -x proxy $URL
17---
18
19# `--proxy-http2`
20
21Negotiate HTTP/2 with an HTTPS proxy. The proxy might still only offer HTTP/1
22and then curl sticks to using that version.
23
24This has no effect for any other kinds of proxies.
25