mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 18:56:28 +00:00
Use method that already does this.
This commit is contained in:
parent
961ad123cc
commit
bc19ccc77a
@ -58,7 +58,7 @@ class Grid(GridTestMixin, WebErrorMixin, ShouldFailMixin, testutil.ReallyEqualMi
|
||||
def CHECK(self, ign, which, args, clientnum=0):
|
||||
fileurl = self.fileurls[which]
|
||||
url = fileurl + "?" + args
|
||||
return self.GET(url, method="POST", clientnum=clientnum).addCallback(str, "utf-8")
|
||||
return self.GET_unicode(url, method="POST", clientnum=clientnum)
|
||||
|
||||
def GET_unicode(self, *args, **kwargs):
|
||||
"""Send an HTTP request, but convert result to Unicode string."""
|
||||
|
Loading…
Reference in New Issue
Block a user