@@ -484,11 +484,11 @@ def _select(self, params, handler=None):
484484
485485 if len (params_encoded ) < 1024 :
486486 # Typical case.
487- path = "%s/ ?%s" % (handler , params_encoded )
487+ path = "%s?%s" % (handler , params_encoded )
488488 return self ._send_request ("get" , path )
489489 else :
490490 # Handles very long queries by submitting as a POST.
491- path = "%s/ " % handler
491+ path = "%s" % handler
492492 headers = {
493493 "Content-type" : "application/x-www-form-urlencoded; charset=utf-8"
494494 }
@@ -534,7 +534,7 @@ def _update(
534534 path_handler = "select"
535535 query_vars .append ("qt=%s" % safe_urlencode (handler , True ))
536536
537- path = "%s/ " % path_handler
537+ path = "%s" % path_handler
538538
539539 if commit is None :
540540 commit = self .always_commit
@@ -1261,11 +1261,11 @@ def ping(self, handler="admin/ping", **kwargs):
12611261
12621262 if len (params_encoded ) < 1024 :
12631263 # Typical case.
1264- path = "%s/ ?%s" % (handler , params_encoded )
1264+ path = "%s?%s" % (handler , params_encoded )
12651265 return self ._send_request ("get" , path )
12661266 else :
12671267 # Handles very long queries by submitting as a POST.
1268- path = "%s/ " % handler
1268+ path = "%s" % handler
12691269 headers = {
12701270 "Content-type" : "application/x-www-form-urlencoded; charset=utf-8"
12711271 }
0 commit comments