mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 19:26:25 +00:00
Make this request a little more realistic
This commit is contained in:
parent
7d54af7928
commit
80549f5f02
@ -39,6 +39,8 @@ def render(resource, query_args):
|
||||
request = TahoeLAFSRequest(channel)
|
||||
request.method = b"GET"
|
||||
request.args = query_args
|
||||
request.prepath = [b""]
|
||||
request.postpath = []
|
||||
try:
|
||||
result = resource.render(request)
|
||||
except UnsupportedMethod:
|
||||
|
Loading…
Reference in New Issue
Block a user