adding HTTP response code

This commit is contained in:
Daniel Larimer 2014-04-22 17:25:07 -04:00
parent e36ccb3cfd
commit 61f2ac4679

View file

@ -25,6 +25,7 @@ namespace fc {
enum status_code {
OK = 200,
RecordCreated = 201,
BadRequest = 400,
NotAuthorized = 401,
NotFound = 404,
Found = 302,
@ -75,3 +76,6 @@ namespace fc {
} } // fc::http
#include <fc/reflect/reflect.hpp>
FC_REFLECT( fc::http::header, (key)(val) )