1*6236dae4SAndroid Build Coastguard Worker--- 2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al. 3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl 4*6236dae4SAndroid Build Coastguard WorkerLong: proxy-http2 5*6236dae4SAndroid Build Coastguard WorkerTags: Versions HTTP/2 6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP 7*6236dae4SAndroid Build Coastguard WorkerAdded: 8.1.0 8*6236dae4SAndroid Build Coastguard WorkerMutexed: 9*6236dae4SAndroid Build Coastguard WorkerRequires: HTTP/2 10*6236dae4SAndroid Build Coastguard WorkerHelp: Use HTTP/2 with HTTPS proxy 11*6236dae4SAndroid Build Coastguard WorkerCategory: http proxy 12*6236dae4SAndroid Build Coastguard WorkerMulti: boolean 13*6236dae4SAndroid Build Coastguard WorkerSee-also: 14*6236dae4SAndroid Build Coastguard Worker - proxy 15*6236dae4SAndroid Build Coastguard WorkerExample: 16*6236dae4SAndroid Build Coastguard Worker - --proxy-http2 -x proxy $URL 17*6236dae4SAndroid Build Coastguard Worker--- 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard Worker# `--proxy-http2` 20*6236dae4SAndroid Build Coastguard Worker 21*6236dae4SAndroid Build Coastguard WorkerNegotiate HTTP/2 with an HTTPS proxy. The proxy might still only offer HTTP/1 22*6236dae4SAndroid Build Coastguard Workerand then curl sticks to using that version. 23*6236dae4SAndroid Build Coastguard Worker 24*6236dae4SAndroid Build Coastguard WorkerThis has no effect for any other kinds of proxies. 25