]> git.tdb.fi Git - libs/net.git/blobdiff - source/status.cpp
Prepare for assimilation into mspnet
[libs/net.git] / source / status.cpp
diff --git a/source/status.cpp b/source/status.cpp
deleted file mode 100644 (file)
index 6b95822..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "status.h"
-
-using namespace std;
-
-namespace Msp {
-namespace Http {
-
-ostream &operator<<(ostream &out, Status status)
-{
-       switch(status)
-       {
-       case NONE: out<<"None"; break;
-       case OK: out<<"OK"; break;
-       case BAD_REQUEST: out<<"Bad Request"; break;
-       case FORBIDDEN: out<<"Forbidden"; break;
-       case NOT_FOUND: out<<"Not Found"; break;
-       case INTERNAL_ERROR: out<<"Internal Error"; break;
-       case NOT_IMPLEMENTED: out<<"Not Implemented"; break;
-       default: out<<"Unknown Status"; break;
-       }
-
-       return out;
-}
-
-} // namespace Http
-} // namespace Msp