From 61f2ac467939e8c1babaa3b24e24f9b1f39f4589 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Tue, 22 Apr 2014 17:25:07 -0400 Subject: [PATCH] adding HTTP response code --- include/fc/network/http/connection.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fc/network/http/connection.hpp b/include/fc/network/http/connection.hpp index 723edbd..3c8de77 100644 --- a/include/fc/network/http/connection.hpp +++ b/include/fc/network/http/connection.hpp @@ -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( fc::http::header, (key)(val) ) +