gogol icon indicating copy to clipboard operation
gogol copied to clipboard

Ability to set custom headers for objectsGet

Open paulvictor opened this issue 3 years ago • 0 comments

I have a specific use case where I have to fetch a specific byte range of an object. Google cloud storage provides such an API here and here by setting custom headers . How would I be able to do the same using gogol? I can construct a value of type MediaDownload ObjectsGet and use the requestClient function to get to the GClient and set custom headers, but how would I be able to send(or more specifically perform) such a modified GClient value?

Can I have some pointers on how to solve this?

paulvictor avatar Apr 08 '21 19:04 paulvictor