306
306
def _check_version(self, required, requested):
307
307
return VERSIONS.index(requested) >= VERSIONS.index(required)
310
315
if path == "" or path[0] != "/":
315
320
# fix up requests, prepending /ec2 to anything that does not match
316
321
path_tokens = path.split('/')[1:]