'Google Calendar API - What should be value for ETag?

As per documentation:

The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed. Additionally, etags help to prevent simultaneous updates of a resource from overwriting each other.

I am trying to add ETag in event using Google Calendar APIs but not clear about usage,

  • What should be value?
  • Any specific format?
  • Should ETag value be same for all events or vary event by event?
  • Should ETag value be same for all events in a calendar or vary calendar by calendar?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source