Skip to content

Commit 47f0810

Browse files
authored
Add files via upload
1 parent e8b8c04 commit 47f0810

8 files changed

Lines changed: 8 additions & 8 deletions

PyWWW/pywwwget_chatgpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
14991499
if(isinstance(httpheaderout, list)):
15001500
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
15011501
httpheaderout = fix_header_names(httpheaderout)
1502-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1502+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
15031503
return returnval
15041504
else:
15051505
return httpfile

PyWWW/pywwwget_deepseek.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
17311731
if(isinstance(httpheaderout, list)):
17321732
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
17331733
httpheaderout = fix_header_names(httpheaderout)
1734-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1734+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
17351735
return returnval
17361736
else:
17371737
return httpfile

PyWWW/pywwwget_merged.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
15321532
if(isinstance(httpheaderout, list)):
15331533
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
15341534
httpheaderout = fix_header_names(httpheaderout)
1535-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1535+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
15361536
return returnval
15371537
else:
15381538
return httpfile

PyWWW/pywwwget_nextver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
15141514
if(isinstance(httpheaderout, list)):
15151515
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
15161516
httpheaderout = fix_header_names(httpheaderout)
1517-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1517+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
15181518
return returnval
15191519
else:
15201520
return httpfile

pywwwget_chatgpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
14991499
if(isinstance(httpheaderout, list)):
15001500
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
15011501
httpheaderout = fix_header_names(httpheaderout)
1502-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1502+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
15031503
return returnval
15041504
else:
15051505
return httpfile

pywwwget_deepseek.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
17311731
if(isinstance(httpheaderout, list)):
17321732
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
17331733
httpheaderout = fix_header_names(httpheaderout)
1734-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1734+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
17351735
return returnval
17361736
else:
17371737
return httpfile

pywwwget_merged.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
15321532
if(isinstance(httpheaderout, list)):
15331533
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
15341534
httpheaderout = fix_header_names(httpheaderout)
1535-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1535+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
15361536
return returnval
15371537
else:
15381538
return httpfile

pywwwget_nextver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ def download_file_from_http_file(url, headers=None, usehttp=__use_http_lib__, ht
15141514
if(isinstance(httpheaderout, list)):
15151515
httpheaderout = make_http_headers_from_list_to_dict(httpheaderout)
15161516
httpheaderout = fix_header_names(httpheaderout)
1517-
returnval = {'Type': "Content", 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
1517+
returnval = {'Type': "Buffer", 'Buffer': httpfile, 'Headers': httpheaderout, 'Version': httpversionout, 'Method': httpmethodout, 'HeadersSent': httpheadersentout, 'URL': httpurlout, 'Code': httpcodeout, 'Reason': httpcodereason, 'HTTPLib': usehttp}
15181518
return returnval
15191519
else:
15201520
return httpfile

0 commit comments

Comments
 (0)