Bug 1092613 - reason phrases for http 207 and 208. r=hurley
authorPatrick McManus <mcmanus@ducksong.com>
Sat, 01 Nov 2014 17:27:53 -0400
changeset 214059 27c0521e84741ce1fa68a21aad87dce9c5414625
parent 214058 095ec0584a3d61dc5c46f6e5393ab64222574640
child 214060 370927f1465a65fe8b2a4aa6b9a911a689ebe293
push id27771
push userryanvm@gmail.com
push dateWed, 05 Nov 2014 19:04:24 +0000
treeherdermozilla-central@305b4fecce99 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershurley
bugs1092613
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1092613 - reason phrases for http 207 and 208. r=hurley
netwerk/protocol/http/nsHttpResponseHead.cpp
--- a/netwerk/protocol/http/nsHttpResponseHead.cpp
+++ b/netwerk/protocol/http/nsHttpResponseHead.cpp
@@ -187,16 +187,22 @@ nsHttpResponseHead::AssignDefaultStatusT
         mStatusText.AssignLiteral("No Content");
         break;
     case 205:
         mStatusText.AssignLiteral("Reset Content");
         break;
     case 206:
         mStatusText.AssignLiteral("Partial Content");
         break;
+    case 207:
+        mStatusText.AssignLiteral("Multi-Status");
+        break;
+    case 208:
+        mStatusText.AssignLiteral("Already Reported");
+        break;
     case 300:
         mStatusText.AssignLiteral("Multiple Choices");
         break;
     case 302:
         mStatusText.AssignLiteral("Found");
         break;
     case 303:
         mStatusText.AssignLiteral("See Other");