
ETag handling in SAP NetWeaver Gateway.
SAP NetWeaver Gateway offers generic support of ETag (conditions) handling. ETags or entity tags are part of the HTTP protocal. They are header fields that help to determine changes of a resource and can be used in caching scenarios so that redundant data transfer can be minimized. ETag handling is one of several mechanisms that HTTP thus provides for Web cache validation and which allows a client to make conditional requests. OData uses HTTP ETags for optimistic concurrency control.
ETag support in SAP NetWeaver Gateway is provided in both the SAP NetWeaver Gateway hub system and in the SAP Business Suite backend system. Consequently, both hub and backend applications can enhance or modify the generic check. Backend operations can also override the generic conditional handling for data modification requests, such as PUT, MERGE and DELETE in the backend system.
OData servers will often use weak ETags as a way of indicating that two resources may be semantically equivalent but a particular request may see a different representation of it.