curl/docs/cmdline-opts/proxy1.0.md
Boris Verkhovskiy 7e2c53f72b
proxy1.0.md: fix example
Closes #12856
2024-02-05 19:41:50 +01:00

598 B

c SPDX-License-Identifier Long Arg Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl proxy1.0 <host[:port]> Use HTTP/1.0 proxy on given port proxy 7.19.4 mutex
proxy
socks5
preproxy
--proxy1.0 http://proxy $URL

--proxy1.0

Use the specified HTTP 1.0 proxy. If the port number is not specified, it is assumed at port 1080.

The only difference between this and the HTTP proxy option --proxy, is that attempts to use CONNECT through the proxy specifies an HTTP 1.0 protocol instead of the default HTTP 1.1.