|
Lines 148-155
Source/WebCore/loader/SubresourceLoader.cpp_sec1
|
| 148 |
if (response.httpStatusCode() == 304) { |
148 |
if (response.httpStatusCode() == 304) { |
| 149 |
// 304 Not modified / Use local copy |
149 |
// 304 Not modified / Use local copy |
| 150 |
// Existing resource is ok, just use it updating the expiration time. |
150 |
// Existing resource is ok, just use it updating the expiration time. |
|
|
151 |
m_state = Finishing; |
| 151 |
memoryCache()->revalidationSucceeded(m_resource, response); |
152 |
memoryCache()->revalidationSucceeded(m_resource, response); |
| 152 |
ResourceLoader::didReceiveResponse(response); |
153 |
if (!reachedTerminalState()) { |
|
|
154 |
ResourceLoader::didReceiveResponse(response); |
| 155 |
cancel(); |
| 156 |
} |
| 153 |
return; |
157 |
return; |
| 154 |
} |
158 |
} |
| 155 |
// Did not get 304 response, continue as a regular resource load. |
159 |
// Did not get 304 response, continue as a regular resource load. |