diff options
Diffstat (limited to 'WebCore/loader/appcache/ApplicationCache.cpp')
-rw-r--r-- | WebCore/loader/appcache/ApplicationCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/loader/appcache/ApplicationCache.cpp b/WebCore/loader/appcache/ApplicationCache.cpp index e411852..42f5b6a 100644 --- a/WebCore/loader/appcache/ApplicationCache.cpp +++ b/WebCore/loader/appcache/ApplicationCache.cpp @@ -111,7 +111,7 @@ ApplicationCacheResource* ApplicationCache::resourceForURL(const String& url) bool ApplicationCache::requestIsHTTPOrHTTPSGet(const ResourceRequest& request) { - if (!request.url().protocolIs("http") && !request.url().protocolIs("https")) + if (!request.url().protocolInHTTPFamily()) return false; if (!equalIgnoringCase(request.httpMethod(), "GET")) |