@@ -484,11 +484,11 @@ def _select(self, params, handler=None):
484
484
485
485
if len (params_encoded ) < 1024 :
486
486
# Typical case.
487
- path = "%s/ ?%s" % (handler , params_encoded )
487
+ path = "%s?%s" % (handler , params_encoded )
488
488
return self ._send_request ("get" , path )
489
489
else :
490
490
# Handles very long queries by submitting as a POST.
491
- path = "%s/ " % handler
491
+ path = "%s" % handler
492
492
headers = {
493
493
"Content-type" : "application/x-www-form-urlencoded; charset=utf-8"
494
494
}
@@ -534,7 +534,7 @@ def _update(
534
534
path_handler = "select"
535
535
query_vars .append ("qt=%s" % safe_urlencode (handler , True ))
536
536
537
- path = "%s/ " % path_handler
537
+ path = "%s" % path_handler
538
538
539
539
if commit is None :
540
540
commit = self .always_commit
@@ -1261,11 +1261,11 @@ def ping(self, handler="admin/ping", **kwargs):
1261
1261
1262
1262
if len (params_encoded ) < 1024 :
1263
1263
# Typical case.
1264
- path = "%s/ ?%s" % (handler , params_encoded )
1264
+ path = "%s?%s" % (handler , params_encoded )
1265
1265
return self ._send_request ("get" , path )
1266
1266
else :
1267
1267
# Handles very long queries by submitting as a POST.
1268
- path = "%s/ " % handler
1268
+ path = "%s" % handler
1269
1269
headers = {
1270
1270
"Content-type" : "application/x-www-form-urlencoded; charset=utf-8"
1271
1271
}
0 commit comments