6 references to HttpWeakETagPrefix
System.Data.Services (6)
System\Data\Services\UpdatableWrapper.cs (4)
340
Debug.Assert(ifMatchHeaderValue.StartsWith(XmlConstants.
HttpWeakETagPrefix
, StringComparison.Ordinal), "If-Match header must be properly formatted - this check is done in DataService.CheckETagValues method");
341
Debug.Assert(ifMatchHeaderValue.Length >= XmlConstants.
HttpWeakETagPrefix
.Length + 1, "If-Match header must be properly formatted - this check is done in DataService.CheckETagValues method");
344
string strippedETag = ifMatchHeaderValue.Substring(XmlConstants.
HttpWeakETagPrefix
.Length, ifMatchHeaderValue.Length - XmlConstants.
HttpWeakETagPrefix
.Length - 1);
System\Data\Services\WebUtil.cs (2)
826
if (etag.StartsWith(XmlConstants.
HttpWeakETagPrefix
, StringComparison.Ordinal) && etag[etag.Length - 1] == '"')
904
resultBuilder.Append(XmlConstants.
HttpWeakETagPrefix
);