8 ostream &operator<<(ostream &out, Status status)
12 case NONE: out<<"None"; break;
13 case OK: out<<"OK"; break;
14 case MOVED_PERMANENTLY: out<<"Moved Permanently"; break;
15 case SEE_OTHER: out<<"See Other"; break;
16 case BAD_REQUEST: out<<"Bad Request"; break;
17 case FORBIDDEN: out<<"Forbidden"; break;
18 case NOT_FOUND: out<<"Not Found"; break;
19 case METHOD_NOT_ALLOWED: out<<"Method not allowed"; break;
20 case INTERNAL_ERROR: out<<"Internal Error"; break;
21 case NOT_IMPLEMENTED: out<<"Not Implemented"; break;
22 default: out<<"Unknown Status"; break;