OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file contains the list of network errors. | 5 // This file contains the list of network errors. |
6 | 6 |
7 // An asynchronous IO operation is not yet complete. This usually does not | 7 // An asynchronous IO operation is not yet complete. This usually does not |
8 // indicate a fatal error. Typically this error will be generated as a | 8 // indicate a fatal error. Typically this error will be generated as a |
9 // notification to wait for some external notification that the IO operation | 9 // notification to wait for some external notification that the IO operation |
10 // finally completed. | 10 // finally completed. |
11 NET_ERROR(IO_PENDING, -1) | 11 NET_ERROR(IO_PENDING, -1) |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 // The headers section of the response is too large. | 230 // The headers section of the response is too large. |
231 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) | 231 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) |
232 | 232 |
233 // The PAC requested by HTTP did not have a valid status code (non-200). | 233 // The PAC requested by HTTP did not have a valid status code (non-200). |
234 NET_ERROR(PAC_STATUS_NOT_OK, -326) | 234 NET_ERROR(PAC_STATUS_NOT_OK, -326) |
235 | 235 |
236 // The evaluation of the PAC script failed. | 236 // The evaluation of the PAC script failed. |
237 NET_ERROR(PAC_SCRIPT_FAILED, -327) | 237 NET_ERROR(PAC_SCRIPT_FAILED, -327) |
238 | 238 |
| 239 // The response was 416 (Requested range not satisfiable) and the server cannot |
| 240 // satisfy the range requested. |
| 241 NET_ERROR(REQUEST_RANGE_NOT_SATISFIABLE, -328) |
| 242 |
239 // The cache does not have the requested entry. | 243 // The cache does not have the requested entry. |
240 NET_ERROR(CACHE_MISS, -400) | 244 NET_ERROR(CACHE_MISS, -400) |
241 | 245 |
242 // The server's response was insecure (e.g. there was a cert error). | 246 // The server's response was insecure (e.g. there was a cert error). |
243 NET_ERROR(INSECURE_RESPONSE, -501) | 247 NET_ERROR(INSECURE_RESPONSE, -501) |
OLD | NEW |