[Feature] Support attributes in sign/sign_async

Open
#746 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
aws, azure, google-cloud, python, rust
Domain
api, cloud

Research direction

Start by locating the sign and sign_async entry points and how they handle S3, Azure, and GCS options. Compare provider support for the listed response attributes, then add coverage showing that supported attributes appear in generated signed URLs while unsupported combinations remain well-defined.

Written by the indexing model from the issue text.

Description

The sign method and it's async counterpart sign_async don't support attributes such as (response)-content-disposition, filename, etc... which can be useful when then signed url is meant for a browser download.

Is it feasible to add such a feature? I assume the list of supported attributes would boil down to

  • (S3/Azure/GCS) content-disposition
  • (S3/Azure/GCS) content-type
  • (S3/Azure) content-encoding
  • (S3/Azure) cache-control
  • (S3/Azure) content-language

Which are all supported S3/Azure, but GCS doesn't seem to support the last 3.

Dominant language
Python
Stars
842
Forks
50
Avg merge
9h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/obstore

All issues in developmentseed/obstore

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.