X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fstatus.cpp;h=b1949ec4423761b6287b5676474042ac06f0bfa2;hb=b4e0f7ed23f24e78fd09c9b7f206279e16d38c1e;hp=6b95822ac0bac01c52091f58df923f91e9ba9a87;hpb=cf8d2e48581eeb8f1b83e8c48321a0bc2ffa6d83;p=libs%2Fnet.git diff --git a/source/http/status.cpp b/source/http/status.cpp index 6b95822..b1949ec 100644 --- a/source/http/status.cpp +++ b/source/http/status.cpp @@ -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;