Open exarkun opened 7 years ago
>>> s3_url_context(AWSServiceEndpoint("http://foo/"), bucket="bar", object_name="baz").get_encoded_url() 'http://foo/bar/baz' >>> s3_url_context(AWSServiceEndpoint("http://foo/"), bucket="bar", object_name="/baz").get_encoded_url() 'http://foo/bar/baz' >>> s3_url_context(AWSServiceEndpoint("http://foo/"), bucket="bar", object_name="//baz").get_encoded_url() 'http://foo/bar//baz' >>>