Refactor treatment of status code and obsolete reason (API Change):

fix #398

A new enum status is added for the status code.

The function obsolete_reason returns default reason phrasing.

If a response has an empty reason, the serializer will
automatically insert the default reason phrase for the
status code.
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:17 -07:00
1 parent f7211da154
commit e5cfe9c11f
14 files changed
+333 -108

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ unit-test http-tests :
http/read.cpp
http/rfc7230.cpp
http/serializer.cpp
http/status.cpp
http/string_body.cpp
http/type_traits.cpp
http/verb.cpp