Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
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.
  • Loading branch information
patlecat committed Dec 1, 2013
commit afb1971d86a0d786d0b9602e1e9cc4193088909a
3 changes: 3 additions & 0 deletions boost/network/protocol/http/impl/response.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ namespace boost { namespace network { namespace http {
partial_content = 206,
multiple_choices = 300,
moved_permanently = 301,
moved_temporarily = 302, ///< \deprecated Not HTTP standard
found = 302,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wary of making potentially breaking changes like these. Can you avoid renaming "moved_temporarily" here?

see_other = 303,
not_modified = 304,
Expand All @@ -56,6 +57,7 @@ namespace boost { namespace network { namespace http {
payment_required = 402,
forbidden = 403,
not_found = 404,
not_supported = 405, ///< \deprecated Not HTTP standard
method_not_allowed = 405,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

not_acceptable = 406,
proxy_authentication_required = 407,
Expand All @@ -67,6 +69,7 @@ namespace boost { namespace network { namespace http {
request_entity_too_large = 413,
request_uri_too_large = 414,
unsupported_media_type = 415,
unsatisfiable_range = 416, ///< \deprecated Not HTTP standard
requested_range_not_satisfiable = 416,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

expectation_failed = 417,
precondition_required = 428,
Expand Down