xref: /aosp_15_r20/external/curl/docs/cmdline-opts/proxy1.0.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
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: proxy1.0
5*6236dae4SAndroid Build Coastguard WorkerArg: <host[:port]>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Use HTTP/1.0 proxy on given port
7*6236dae4SAndroid Build Coastguard WorkerCategory: proxy
8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.19.4
9*6236dae4SAndroid Build Coastguard WorkerMulti: mutex
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - proxy
12*6236dae4SAndroid Build Coastguard Worker  - socks5
13*6236dae4SAndroid Build Coastguard Worker  - preproxy
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --proxy1.0 http://proxy $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--proxy1.0`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerUse the specified HTTP 1.0 proxy. If the port number is not specified, it is
21*6236dae4SAndroid Build Coastguard Workerassumed at port 1080.
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard WorkerThe only difference between this and the HTTP proxy option --proxy, is that
24*6236dae4SAndroid Build Coastguard Workerattempts to use CONNECT through the proxy specifies an HTTP 1.0 protocol
25*6236dae4SAndroid Build Coastguard Workerinstead of the default HTTP 1.1.
26