Skip to content

Support for missing HTTP status codes #443

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

Conversation

lyytinen
Copy link

@lyytinen lyytinen commented Sep 9, 2014

Adds support for missing HTTP status codes as a fix for issue #442.

The implementation is not that pretty as it still has a lot of redundancy (although less than in the original version) but it fixes the issue.

@@ -86,7 +87,7 @@ struct basic_response<tags::http_server> {
space_unavailable = 507,
network_authentication_required = 511
} status;

Copy link
Member

Choose a reason for hiding this comment

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

Please remove extra whitespace.

@deanberris
Copy link
Member

LGTM -- please address just the two nits, and I'll merge with no issues. If you can also run clang-format on the file, that would be nice, but not required.

http://clang.llvm.org/docs/ClangFormat.html

@deanberris deanberris added this to the 0.11.1 milestone Sep 9, 2014
@deanberris deanberris self-assigned this Sep 9, 2014
@lyytinen
Copy link
Author

lyytinen commented Sep 9, 2014

Ok, thanks! Removed the whitespace but the clang tools I don't have and won't start installing just for this if you don't mind.

@deanberris
Copy link
Member

Definitely don't mind @lyytinen -- thanks again for doing this! Definitely appreciated.

Now I'll just wait for Travis to do its thing and I should be able to merge this soon as that's done. 😄

Cheers

deanberris added a commit that referenced this pull request Sep 10, 2014
@deanberris deanberris merged commit e950d1b into cpp-netlib:0.11-devel Sep 10, 2014
@deanberris
Copy link
Member

Took a while, but this is merged now @lyytinen -- thanks again!

leecoder pushed a commit to leecoder/cpp-netlib that referenced this pull request Apr 14, 2015
…atus-codes

Support for missing HTTP status codes
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