storage icon indicating copy to clipboard operation
storage copied to clipboard

@vercel/blob feature request: custom headers on `retrieveClientToken` fetch

Open jordaaash opened this issue 2 years ago • 2 comments

When using ngrok as recommended for local testing of client uploads, there's a default warning page that can be bypassed by sending a header.

If this code accepted request headers, it could be provided: https://github.com/vercel/storage/blob/293ebe7796538119fcbc793c9ffdea7c3ec91955/packages/blob/src/client.ts#L306-L309

There are probably other more common cases where this would also be helpful -- sending CORS headers, authorization tokens, etc.

jordaaash avatar Oct 11 '23 20:10 jordaaash

hey @jordansexton , thanks for the suggestion! I think that's a valuable point, we'll add it to our roadmap

correttojs avatar Oct 12 '23 06:10 correttojs

+1 Really need that for my project

w1png avatar Mar 12 '24 14:03 w1png