File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -268,18 +268,19 @@ can also get all the extra fields on the Pydantic model as a dict with
268
268
269
269
You can directly override the [ httpx client] ( https://www.python-httpx.org/api/#client ) to customize it for your use case, including:
270
270
271
- - Support for proxies
272
- - Custom transports
271
+ - Support for [ proxies] ( https://www.python-httpx.org/advanced/proxies/ )
272
+ - Custom [ transports] ( https://www.python-httpx.org/advanced/transports/ )
273
273
- Additional [ advanced] ( https://www.python-httpx.org/advanced/clients/ ) functionality
274
274
275
275
``` python
276
+ import httpx
276
277
from gitpod import Gitpod, DefaultHttpxClient
277
278
278
279
client = Gitpod(
279
280
# Or use the `GITPOD_BASE_URL` env var
280
281
base_url = " http://my.test.server.example.com:8083" ,
281
282
http_client = DefaultHttpxClient(
282
- proxies = " http://my.test.proxy.example.com" ,
283
+ proxy = " http://my.test.proxy.example.com" ,
283
284
transport = httpx.HTTPTransport(local_address = " 0.0.0.0" ),
284
285
),
285
286
)
You can’t perform that action at this time.
0 commit comments