Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returning hard-coded timestamps on container listing #61

Closed
mlanner opened this issue Dec 17, 2013 · 6 comments
Closed

Returning hard-coded timestamps on container listing #61

mlanner opened this issue Dec 17, 2013 · 6 comments

Comments

@mlanner
Copy link

mlanner commented Dec 17, 2013

Using s3cmd or boto Swift3 returns what appear as static (hard-coded) timestamps of containers. The hard-coded value seems to be in middleware.py on lines 400-407. (Timestamps returned using the python-swiftclient provide correct timestamps.)

@lrliu
Copy link

lrliu commented Dec 17, 2013

When can the fix be released?

@RajanBhatt
Copy link

I hope this can be fixed very quickly.

@bloodeagle40234
Copy link

I think that swift doesn't return each container timestamp when listing containers(GET account).
How to get container info without additional HEAD requests?

@portante
Copy link

Are you performing the GET request with the requested format of json or xml?

@bloodeagle40234
Copy link

Sure. Both of the formats show the list which contains name, counts and bytes for each container.

@portante
Copy link

Sure enough, no timestamp. Perhaps you could propose a change to add a parameter to the swift GET for contains against an account where it would add the timestamps? Not sure of all the ramifications of that though...

@fujita fujita closed this as completed Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants