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