summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 23:57:17 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 23:57:17 +0000
commitf9d44aa6e5fdefae83b3e02effdd7376b31dd3ef (patch)
tree02e58aecf9901d5e8060cdb9f54456b6b697831c /net/base
parentb1670ee840ae84cbb5f837d73ed35591a0c82a25 (diff)
downloadchromium_src-f9d44aa6e5fdefae83b3e02effdd7376b31dd3ef.zip
chromium_src-f9d44aa6e5fdefae83b3e02effdd7376b31dd3ef.tar.gz
chromium_src-f9d44aa6e5fdefae83b3e02effdd7376b31dd3ef.tar.bz2
Fix support for 204 responses that lack an explicit EOF.
BUG=2347 R=wtc Review URL: http://codereview.chromium.org/3085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_error_list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index c3b7a60..9fbb942 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -192,6 +192,9 @@ NET_ERROR(INVALID_RESPONSE, -320)
// Error in chunked transfer encoding.
NET_ERROR(INVALID_CHUNKED_ENCODING, -321)
+// The server did not support the request method.
+NET_ERROR(METHOD_NOT_SUPPORTED, -322)
+
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)