]> git.tdb.fi Git - libs/net.git/blobdiff - source/http/status.cpp
Implement an asynchronous name resolver class
[libs/net.git] / source / http / status.cpp
index 6b95822ac0bac01c52091f58df923f91e9ba9a87..b1949ec4423761b6287b5676474042ac06f0bfa2 100644 (file)
@@ -11,9 +11,12 @@ ostream &operator<<(ostream &out, Status status)
        {
        case NONE: out<<"None"; break;
        case OK: out<<"OK"; break;
+       case MOVED_PERMANENTLY: out<<"Moved Permanently"; break;
+       case SEE_OTHER: out<<"See Other"; break;
        case BAD_REQUEST: out<<"Bad Request"; break;
        case FORBIDDEN: out<<"Forbidden"; break;
        case NOT_FOUND: out<<"Not Found"; break;
+       case METHOD_NOT_ALLOWED: out<<"Method not allowed"; break;
        case INTERNAL_ERROR: out<<"Internal Error"; break;
        case NOT_IMPLEMENTED: out<<"Not Implemented"; break;
        default: out<<"Unknown Status"; break;