Skip to content

Commit 7aec65e

Browse files
authored
Add files via upload
1 parent c75ff36 commit 7aec65e

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

pywwwget_chatgpt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2860,7 +2860,6 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, re
28602860
httpheadersentout = req.header_items()
28612861
httpsession = req
28622862
if((not keepsession and not returnstats) or not keepsession or httpmethod == "HEAD"):
2863-
req.close()
28642863
httpsession = None
28652864

28662865

pywwwget_deepseek.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2975,7 +2975,6 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, re
29752975
httpheadersentout = req.header_items()
29762976
httpsession = req
29772977
if((not keepsession and not returnstats) or not keepsession or httpmethod == "HEAD"):
2978-
req.close()
29792978
httpsession = None
29802979

29812980

pywwwget_merged.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2895,7 +2895,6 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, re
28952895
httpheadersentout = req.header_items()
28962896
httpsession = req
28972897
if((not keepsession and not returnstats) or not keepsession or httpmethod == "HEAD"):
2898-
req.close()
28992898
httpsession = None
29002899

29012900

pywwwget_nextver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2876,7 +2876,6 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, re
28762876
httpheadersentout = req.header_items()
28772877
httpsession = req
28782878
if((not keepsession and not returnstats) or not keepsession or httpmethod == "HEAD"):
2879-
req.close()
28802879
httpsession = None
28812880

28822881

0 commit comments

Comments
 (0)