userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.39k stars 278 forks source link

http::StatusCode unification #602

Closed SidorovichPavel closed 4 months ago

SidorovichPavel commented 4 months ago

Set server::http::HttpStatus and client::http::Status as alias to http::StatusCode

github-actions[bot] commented 4 months ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

SidorovichPavel commented 4 months ago

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/

SidorovichPavel commented 4 months ago

fix format and moved serialization functions. serialization to std::ostream can be impl by StatusCodeString. Make it?

SidorovichPavel commented 4 months ago

i forgot one case of the http::StatusCode serialization