|
13 | 13 | Copyright 2015-2024 Game Maker 2k - https://github.com/GameMaker2k |
14 | 14 | Copyright 2015-2024 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski |
15 | 15 |
|
16 | | - $FileInfo: pywwwget.py - Last Update: 8/14/2025 Ver. 2.1.4 RC 1 - Author: cooldude2k $ |
| 16 | + $FileInfo: pywwwget.py - Last Update: 8/14/2025 Ver. 2.1.6 RC 1 - Author: cooldude2k $ |
17 | 17 | ''' |
18 | 18 |
|
19 | 19 | from __future__ import absolute_import, division, print_function, unicode_literals, generators, with_statement, nested_scopes |
|
121 | 121 | __program_small_name__ = "wwwget" |
122 | 122 | __project__ = __program_name__ |
123 | 123 | __project_url__ = "https://github.com/GameMaker2k/PyWWW-Get" |
124 | | -__version_info__ = (2, 1, 4, "RC 1", 1) |
| 124 | +__version_info__ = (2, 1, 6, "RC 1", 1) |
125 | 125 | __version_date_info__ = (2025, 8, 14, "RC 1", 1) |
126 | 126 | __version_date__ = str(__version_date_info__[0])+"."+str(__version_date_info__[ |
127 | 127 | 1]).zfill(2)+"."+str(__version_date_info__[2]).zfill(2) |
@@ -326,7 +326,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__): |
326 | 326 | if usehttp == 'requests' and haverequests: |
327 | 327 | if username and password: |
328 | 328 | response = requests.get( |
329 | | - rebuilt_url, headers=headers, auth=(username, password), timeout=(5, 30)), stream=True |
| 329 | + rebuilt_url, headers=headers, auth=(username, password), timeout=(5, 30), stream=True |
330 | 330 | ) |
331 | 331 | else: |
332 | 332 | response = requests.get(rebuilt_url, headers=headers, timeout=(5, 30)), stream=True) |
|
0 commit comments