[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ETags and concurrency control
* Pablo Castro <Pablo.Castro@xxxxxxxxxxxxx> [2008-04-25 02:30]:
> Creating ETags: Astoria can be layered on top of many data
> sources, so ETags can be many different things. We designed it
> so that the developer creating the service can indicate a
> subset of the property of the "entity" (e.g. object, record,
> etc.) being exposed as part of the ETag. In the ideal case
> they'd just use a single timestamp property, but in practice
> that's not always possible. One effect of this is that in some
> corner cases ETags can get big and bloat the header.
Hash the value? (Or allow the API client to request that it be
hashed?)
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>