Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Incorrect behavior when using Prefix #233

Open
mikemiles-dev opened this issue Mar 21, 2018 · 1 comment
Open

Incorrect behavior when using Prefix #233

mikemiles-dev opened this issue Mar 21, 2018 · 1 comment

Comments

@mikemiles-dev
Copy link

On S3 when using paginatior to list files if you pass the prefix key but a blank value you get back the contents key in the response however on fake s3 if you do the same you get a common prefix key in the response and no contents.

@abrugh
Copy link

abrugh commented Mar 21, 2018

To elaborate this is with boto3's list_objects, paginator.paginate function. If a delimiter and prefix of '' are passed to the paginate function real s3 works but fake-s3 does not. The work around seems to be to not pass those args to paginate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants