public Task <RestResponse> SendIfNoneMatchAsync <T>(Uri uri, HttpMethod method, T item)
        {
            var message = new HttpRequestMessage(method, uri.ToString());

            message.AddIfNoneMatch();

            return(SendAsync(message, method, item));
        }
Beispiel #2
0
 public void ApplyHeadersToRequest(HttpRequestMessage request)
 {
     request.Headers.IfModifiedSince = Modified;
     request.AddIfNoneMatch(Etag);
 }