adutra commented on issue #15166:
URL: https://github.com/apache/iceberg/issues/15166#issuecomment-4011919563

   > [@adutra](https://github.com/adutra) isn't the issue here that the server 
sent back `cache-control: private` for a `PUT` request? By default, the server 
should really only be caching `GET` and `HEAD` requests as I don't think `PUT` 
requests are safe to be cached?
   
   Indeed, this example is contrived. But there is nothing in the specs that 
forbids a server from doing so. At least a spec clarification could be welcome 
(or some client-side defence mechanism).
   
   And we uncovered another problematic use case: a `GET` request with the 
`range` header. The server _could_ legitimately sign that header. But if it 
does so, it also breaks the client's cache.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to