@@ -134,46 +134,42 @@ The {+mcli+} supports the following environment variables:
134134 - The absolute |url| or the hostname and port in the
135135 ``hostname[:port]`` format.
136136
137- .. example::
137+ The following example shows how to set up the environment
138+ variable if your proxy configuration doesn't require
139+ authentication.
138140
139- The following example shows how to set up the environment
140- variable if your proxy configuration doesn't require
141- authentication.
141+ .. code-block:: sh
142+ :copyable: false
142143
143- .. code-block:: sh
144- :copyable: false
144+ HTTP_PROXY=<my.proxy.address>
145145
146- HTTP_PROXY=<my.proxy.address>
146+ The following example shows how to set up the environment
147+ variable if your proxy configuration requires authentication.
147148
148- The following example shows how to set up the environment
149- variable if your proxy configuration requires authentication.
149+ .. code-block:: sh
150+ :copyable: false
150151
151- .. code-block:: sh
152- :copyable: false
152+ HTTP_PROXY=username:password@<my.proxy.address>
153153
154- HTTP_PROXY=username:password@<my.proxy.address>
154+ The following example shows how to set up the environment
155+ variable if the scheme is ``socks5``.
155156
156- The following example shows how to set up the environment
157- variable if the scheme is ``socks5``.
157+ .. code-block:: sh
158+ :copyable: false
158159
159- .. code-block:: sh
160- :copyable: false
161-
162- HTTP_PROXY=socks5://<my.proxy.address>
160+ HTTP_PROXY=socks5://<my.proxy.address>
163161
164162 * - ``HTTPS_PROXY``, ``https_proxy``
165163 - The absolute |url|. If ``HTTP_PROXY`` is also set, this takes
166164 precedence over ``HTTP_PROXY`` for all requests.
167165
168- .. example::
169-
170- The following example shows how to set up the environment
171- variable.
166+ For example, the following shows how to set up the environment
167+ variable.
172168
173- .. code-block:: sh
174- :copyable: false
169+ .. code-block:: sh
170+ :copyable: false
175171
176- HTTPS_PROXY=https://<my.proxy.address>
172+ HTTPS_PROXY=https://<my.proxy.address>
177173
178174 * - ``NO_PROXY``, ``no_proxy``
179175 - Indicates no proxy for the |url| because proxy isn't configured
0 commit comments