Skip to content

Commit afb1971

Browse files
committed
Backward compatability maintained
I added the incorrectly named HTTP status code names back in but marked them as deprecated for the documentation. Now we have both names.
1 parent 403f659 commit afb1971

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boost/network/protocol/http/impl/response.ipp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ namespace boost { namespace network { namespace http {
4545
partial_content = 206,
4646
multiple_choices = 300,
4747
moved_permanently = 301,
48+
moved_temporarily = 302, ///< \deprecated Not HTTP standard
4849
found = 302,
4950
see_other = 303,
5051
not_modified = 304,
@@ -56,6 +57,7 @@ namespace boost { namespace network { namespace http {
5657
payment_required = 402,
5758
forbidden = 403,
5859
not_found = 404,
60+
not_supported = 405, ///< \deprecated Not HTTP standard
5961
method_not_allowed = 405,
6062
not_acceptable = 406,
6163
proxy_authentication_required = 407,
@@ -67,6 +69,7 @@ namespace boost { namespace network { namespace http {
6769
request_entity_too_large = 413,
6870
request_uri_too_large = 414,
6971
unsupported_media_type = 415,
72+
unsatisfiable_range = 416, ///< \deprecated Not HTTP standard
7073
requested_range_not_satisfiable = 416,
7174
expectation_failed = 417,
7275
precondition_required = 428,

0 commit comments

Comments
 (0)