X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhttp%2Fstatus.h;h=5f4656e26fc706b0cd972332178b8becc630808b;hb=HEAD;hp=fe18a85f3251384e18518788df62b7f5413f450e;hpb=d6450850c3f57b62819135f8975320427a618c78;p=libs%2Fnet.git diff --git a/source/http/status.h b/source/http/status.h index fe18a85..5f4656e 100644 --- a/source/http/status.h +++ b/source/http/status.h @@ -2,6 +2,7 @@ #define MSP_HTTPSERVER_STATUS_H_ #include +#include namespace Msp { namespace Http { @@ -10,6 +11,8 @@ enum Status { NONE = 0, OK = 200, + MOVED_PERMANENTLY = 301, + SEE_OTHER = 303, BAD_REQUEST = 400, FORBIDDEN = 403, NOT_FOUND = 404, @@ -18,7 +21,7 @@ enum Status NOT_IMPLEMENTED = 501 }; -extern std::ostream &operator<<(std::ostream &, Status); +MSPNET_API std::ostream &operator<<(std::ostream &, Status); } // namespace Http } // namespace Msp