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

Commit61c9a3c

Browse files
committed
Turn on SNI for release asset creation
1 parent7ec13df commit61c9a3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎github3/repos/release.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ def upload_asset(self, content_type, name, asset):
146146
headers=Release.CUSTOM_HEADERS.copy()
147147
headers.update({'Content-Type':content_type})
148148
url=self.upload_urlt.expand({'name':name})
149-
r=self._post(url,data=asset,json=False,headers=headers,
150-
verify=False)
149+
r=self._post(url,data=asset,json=False,headers=headers)
151150
ifr.status_codein (201,202):
152151
returnAsset(r.json(),self)
153152
raiseerror_for(r)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp