Skip to content

Added all HTTP status codes #336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 1, 2013
Merged

Added all HTTP status codes #336

merged 2 commits into from
Dec 1, 2013

Conversation

patlecat
Copy link

@patlecat patlecat commented Dec 1, 2013

Added all the missing HTTP v1.1 status codes and corrected the naming to
the standard of some of the existing ones.
-> 100 was named continue_http to avoid problems with the reserved word.

Added all the missing HTTP v1.1 status codes and corrected the naming to
the standard of some of the existing ones.
partial_content = 206,
multiple_choices = 300,
moved_permanently = 301,
moved_temporarily = 302,
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?

@deanberris
Copy link
Member

Thanks @patlecat -- if you can keep the old names and introduce new ones with the same value in the enum definition, that would be nice.

I added the incorrectly named HTTP status code names back in but marked
them as deprecated for the documentation. Now we have both names.
@patlecat
Copy link
Author

patlecat commented Dec 1, 2013

Better? :)

@deanberris
Copy link
Member

Much better -- thanks @patlecat! Merging this now.

LGTM

deanberris added a commit that referenced this pull request Dec 1, 2013
Added all HTTP status codes
@deanberris deanberris merged commit 561c75a into cpp-netlib:0.11-devel Dec 1, 2013
@patlecat patlecat deleted the 0.11-devel branch December 1, 2013 13:37
leecoder pushed a commit to leecoder/cpp-netlib that referenced this pull request Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants