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

Additional ACL response attributes #1594

Merged
merged 1 commit into from
May 7, 2024

Conversation

manuteleco
Copy link
Contributor

Include these attributes in the JSON response for access control lists.

  • etag
  • kind

Some client libraries expect them to be present, and fail to deserialize the response otherwise.

The value for kind matches what the real GCS API returns. We don't care too much about the ETag value at this stage, so we just picked a valid constant.

Include these attributes in the JSON response for access control lists.

* `etag`
* `kind`

Some [client libraries][1] expect them to be present, and fail to
deserialize the response otherwise.

The value for `kind` matches what the real GCS API returns. We don't
care too much about the ETag value at this stage, so we just picked a
valid constant.

[1]: https://crates.io/crates/google-cloud-storage
Copy link
Owner

@fsouza fsouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be great to not have hard-coded values, but we can leave that for future contributors!

@fsouza fsouza merged commit d719225 into fsouza:main May 7, 2024
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants