[WK2] We should not even try the network cache for non-HTTP protocol requests
[WebKit-https.git] / Source / WebKit2 / NetworkProcess / cache / NetworkCacheStatisticsCocoa.mm
index b3842e7..74f6e8f 100644 (file)
@@ -190,8 +190,6 @@ void Statistics::recordNotCachingResponse(const Key& key, StoreDecision storeDec
 static String retrieveDecisionToDiagnosticKey(RetrieveDecision retrieveDecision)
 {
     switch (retrieveDecision) {
-    case RetrieveDecision::NoDueToProtocol:
-        return WebCore::DiagnosticLoggingKeys::notHTTPFamilyKey();
     case RetrieveDecision::NoDueToHTTPMethod:
         return WebCore::DiagnosticLoggingKeys::unsupportedHTTPMethodKey();
     case RetrieveDecision::NoDueToConditionalRequest: