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

Appearance settings

Commit 01969c2

Browse filesBrowse files
authored
Correct session example
1 parent 59a19ca commit 01969c2
Copy full SHA for 01969c2

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎docs/api-usage.rst‎

Copy file name to clipboardExpand all lines: docs/api-usage.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ The following sample illustrates how to use a client-side certificate:
283283
import requests
284284
285285
session = requests.Session()
286-
s.cert = ('/path/to/client.cert', '/path/to/client.key')
286+
session.cert = ('/path/to/client.cert', '/path/to/client.key')
287287
gl = gitlab.gitlab(url, token, api_version=4, session=session)
288288
289289
Reference:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.