Retrospection commented on issue #2149:
URL: 
https://github.com/apache/incubator-opendal/issues/2149#issuecomment-1531099375

   @Xuanwo @suyanhanx 
   
   Although Vercel seems change the API doc, but still want to discuss how to 
implement this case.
   
   Here is the scene:
   
   The Vercel offers a API endpoint for upload artifacts with 4 custom HTTP 
header:
   
   
![75a8062671b64e0cbf46e1711453afe](https://user-images.githubusercontent.com/7844408/235619049-3ede2b1e-7fab-41bf-b0d9-1dbd1eff9edf.png)
   
   It appears that the `x-artifact-client-ci` parameter and the 
`x-artifact-client-interactive` parameter remain constant throughout an access 
session, so they can be set as backend fields. However, the other two 
parameters, x-artifact-duration and x-artifact-tag, seem to change with each 
operation.
   
   There is a possible place to put this logic currently, which is in `OpRead`. 
However, this also means that a local logic used only by `Vercel Cache Service` 
will leak to the global scope, which doesn't seem like a good design. Would you 
like to discuss how to support HTTP headers that change with each operation 
like this?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to