question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

STORAGE: Send blob metadata in upload requests

See original GitHub issue

When self._changes is not empty, we should upgrade a media request to a multipart upload:

If you have metadata that you want to send along with the data to upload, you can make a single multipart/related request. This is a good choice if the data you are sending is small enough to upload again in its entirety if the connection fails.

whereas for resumable uploads, we should

Make an initial request to the upload URI that includes the metadata, if any.

@craigcitro Is there a way to set the body of the initial request in a resumable upload?

H/T to @pdknsk for #536

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
cristicbzcommented, Dec 15, 2016

Now that the migration to apitools is complete, this should be unblocked, right?

0reactions
tseavercommented, Jun 5, 2017

#3362 includes existing blob properties with the initial (or only) upload request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Blob Metadata (REST API) - Azure Storage | Microsoft Learn
The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more name-value pairs.
Read more >
Set metadata in REST request to put blob in AZURE
i want to set metadata at the time i am doing request for put blob, when i am setting it into header as...
Read more >
Saving Metadata in Azure Blob Storage - Andrew Hoefling
Built-in to Azure Blob Storage is the ability to store metadata for the blobs usins a Key-Value-Pair of strings. This helps reduces software ......
Read more >
Working with object metadata - Amazon Simple Storage Service
Name Description Can user modify the value? Date Current date and time. No Content‑Disposition Object presentational information. Yes Content‑Length Object size in bytes. No
Read more >
Upload objects from a filesystem | Cloud Storage
Media upload (a single-request upload without object metadata) · OBJECT_LOCATION is the local path to your object. · OAUTH2_TOKEN is the access token...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found