[GH-ISSUE #477] [Feature Request] Support response-content-disposition and response-content-type query? #92

Open
opened 2026-03-03 12:08:14 +03:00 by kerem · 3 comments
Owner

Originally created by @anchan828 on GitHub (Apr 9, 2021).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/477

Hi, thank you for this useful tool!

I would like to see support for response-content-disposition and response-content-type because I want to have the same behavior as GCS.

https://cloud.google.com/storage/docs/xml-api/reference-headers#responsecontentdisposition

Originally created by @anchan828 on GitHub (Apr 9, 2021). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/477 Hi, thank you for this useful tool! I would like to see support for response-content-disposition and response-content-type because I want to have the same behavior as GCS. https://cloud.google.com/storage/docs/xml-api/reference-headers#responsecontentdisposition
Author
Owner

@fsouza commented on GitHub (Apr 12, 2021):

Hi @anchan828, thanks for opening this issue. Is that feature also supported in the json-api? You linked the xml-api, which is not currently supported (see #331).

<!-- gh-comment-id:818246216 --> @fsouza commented on GitHub (Apr 12, 2021): Hi @anchan828, thanks for opening this issue. Is that feature also supported in the json-api? You linked the xml-api, which is not currently supported (see #331).
Author
Owner

@anchan828 commented on GitHub (Apr 13, 2021):

Hi @fsouza, thanks for your reply.
Those parameters work fine at least in @google-cloud/storage. Also google-cloud-cpp have them.
This feature does not seem to make a difference between json and xml, I think.

<!-- gh-comment-id:818350636 --> @anchan828 commented on GitHub (Apr 13, 2021): Hi @fsouza, thanks for your reply. Those parameters work fine at least in [@google-cloud/storage](https://github.com/googleapis/nodejs-storage/blob/master/src/signer.ts#L57). Also [google-cloud-cpp](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/storage/signed_url_options.h#L100) have them. This feature does not seem to make a difference between json and xml, I think.
Author
Owner

@fsouza commented on GitHub (Apr 13, 2021):

Nice, thanks for confirming!

<!-- gh-comment-id:818406714 --> @fsouza commented on GitHub (Apr 13, 2021): Nice, thanks for confirming!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#92
No description provided.