Skip to content

Commit 61c9a3c

Browse files
committed
Turn on SNI for release asset creation
1 parent 7ec13df commit 61c9a3c

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
if r.status_code in (201, 202):
152151
return Asset(r.json(), self)
153152
raise error_for(r)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy