mirror of
https://github.com/9001/copyparty.git
synced 2025-12-27 07:54:13 -05:00
tests: fix for f9954bc4e5
This commit is contained in:
@@ -371,7 +371,7 @@ class TestDots(unittest.TestCase):
|
||||
return " ".join(tar)
|
||||
|
||||
def curl(self, url, uname, binary=False, req=b""):
|
||||
req = req or hdr(url, uname)
|
||||
req = req or hdr(url.replace("th=x", "th=j"), uname)
|
||||
conn = self.conn.setbuf(req)
|
||||
HttpCli(conn).run()
|
||||
if binary:
|
||||
|
||||
Reference in New Issue
Block a user