mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 11:58:28 +00:00
Improve Python 2 compatibility
This commit is contained in:
1 parent
1f966bb9d5
commit
b69d590176
1 file changed
+1
-1
@@ -911,7 +911,7 @@ class HttpCli(object):
|
||||
if status == 304:
|
||||
self.out_headers.pop("Content-Length", None)
|
||||
self.out_headers.pop("Content-Type", None)
|
||||
self.out_headerlist.clear()
|
||||
self.out_headerlist[:] = []
|
||||
if self.k304():
|
||||
self.keepalive = False
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user