20 references to NotModified
System (13)
net\System\Net\_Connection.cs (1)
2223m_ResponseData.m_StatusCode == HttpStatusCode.NoContent || (m_ResponseData.m_StatusCode == HttpStatusCode.NotModified && contentLength < 0) ;
net\System\Net\Cache\_Rfc2616CacheValidators.cs (10)
242if (resp.StatusCode == HttpStatusCode.NotModified) 310if (ctx.CacheStatusCode == HttpStatusCode.NotModified) { 357if (resp.StatusCode == HttpStatusCode.NotModified || ctx.RequestMethod == HttpMethod.Head) 683if(resp.StatusCode == HttpStatusCode.NotModified) { 842if (resp.StatusCode == HttpStatusCode.NotModified || 1046if ((ctx.CacheStream == Stream.Null || (int)ctx.CacheStatusCode == 0) && resp.StatusCode == HttpStatusCode.NotModified) { 1075if (resp.StatusCode != HttpStatusCode.NotModified && resp.Headers.LastModified != ctx.CacheHeaders.LastModified) 1169if (resp.StatusCode == HttpStatusCode.NotModified) { 1771if (ctx.CacheHeaders == null || (resp.StatusCode != HttpStatusCode.NotModified && resp.StatusCode != HttpStatusCode.PartialContent)) 1831if (resp.StatusCode == HttpStatusCode.NotModified && AsciiLettersNoCaseEqual(key, HttpKnownHeaderNames.ContentLength)) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
258if (CacheStream == Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified) 334if (CacheStream == Stream.Null || (int)CacheStatusCode == 0 || CacheStatusCode == HttpStatusCode.NotModified)
System.Data.Services (4)
System\Data\Services\ErrorHandler.cs (2)
231if (dataServiceException.StatusCode == (int)System.Net.HttpStatusCode.NotModified) 235host.ResponseStatusCode = (int)System.Net.HttpStatusCode.NotModified;
System\Data\Services\HttpContextServiceHost.cs (1)
522case HttpStatusCode.NotModified: // 304
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (1)
167if (e.StatusCode == (int)System.Net.HttpStatusCode.NotModified)
System.ServiceModel.Web (3)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
75responseMessageProperty.StatusCode = HttpStatusCode.NotModified;
System\ServiceModel\Web\IncomingWebRequestContext.cs (2)
195throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WebFaultException(HttpStatusCode.NotModified)); 292throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WebFaultException(HttpStatusCode.NotModified));