Skip to content

Is there a way to add Content-Type to FilePicker.upload() method to put object to S3/Minio ? #5341

Closed Answered by hieubnt235
hieubnt235 asked this question in Q&A
Discussion options

You must be logged in to vote

This is solve by add more query param in presigned url, such as with Minio:

client.get_presigned_url("PUT",bucket,object_name,expires, extra_query_params={"content-type":"image/jpeg"})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hieubnt235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
1 participant