Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbcc820

Browse files
authored
Merge pull request#1032 from nejch/docs/requests-ca-bundle
docs: add reference to REQUESTS_CA_BUNDLE usage
2 parents3aa9873 +b392c21 commitfbcc820

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

‎README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Requirements
3131

3232
python-gitlab depends on:
3333

34-
* `python-requests<http://docs.python-requests.org/en/latest/>`_
34+
* `python-requests<https://2.python-requests.org/en/latest/>`_
3535

3636
Install with pip
3737
----------------

‎docs/api-usage.rst

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,19 @@ python-gitlab:
307307
gl= gitlab.gitlab(url, token,api_version=4,session=session)
308308
309309
Reference:
310-
http://docs.python-requests.org/en/master/user/advanced/#proxies
310+
https://2.python-requests.org/en/master/user/advanced/#proxies
311+
312+
SSL certificate verification
313+
----------------------------
314+
315+
python-gitlab relies on the CA certificate bundle in the `certifi` package
316+
that comes with the requests library.
317+
318+
If you need python-gitlab to use your system CA store instead, you can provide
319+
the path to the CA bundle in the `REQUESTS_CA_BUNDLE` environment variable.
320+
321+
Reference:
322+
https://2.python-requests.org/en/master/user/advanced/#ssl-cert-verification
311323

312324
Client side certificate
313325
-----------------------
@@ -324,7 +336,7 @@ The following sample illustrates how to use a client-side certificate:
324336
gl= gitlab.gitlab(url, token,api_version=4,session=session)
325337
326338
Reference:
327-
http://docs.python-requests.org/en/master/user/advanced/#client-side-certificates
339+
https://2.python-requests.org/en/master/user/advanced/#client-side-certificates
328340

329341
Rate limits
330342
-----------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp