developmentseed / developmentseed/obstore

[Feature] Support attributes in sign/sign_async

Open
#746 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
810
Forks
42
Avg merge
1d 15h
Merged PRs (30d)
6

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.

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.