mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
tests: fix for f9954bc4e5
This commit is contained in:
parent
ec14c3944e
commit
21db8833dc
|
@ -371,7 +371,7 @@ class TestDots(unittest.TestCase):
|
||||||
return " ".join(tar)
|
return " ".join(tar)
|
||||||
|
|
||||||
def curl(self, url, uname, binary=False, req=b""):
|
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)
|
conn = self.conn.setbuf(req)
|
||||||
HttpCli(conn).run()
|
HttpCli(conn).run()
|
||||||
if binary:
|
if binary:
|
||||||
|
|
Loading…
Reference in a new issue