73 HTTPResponse::HTTPStatus http_status;
75 ResponseType response_type;
82 std::map<HTTP::Status, Attributes>& get_responses_()
84 auto& var = responses_;
88 void CompoundResponse_(HTTP::Status status, JSON::Object::Ptr result_json);
89 void CompoundFillResponse_(HTTP::Status status, JSON::Object::Ptr result_json, std::string message);
90 void JSONResponse_(HTTP::Status status, std::string message);
91 void HTMLResponse_(HTTP::Status status, std::string message);
92 void CustomHTMLResponse_(HTTP::Status status, std::string html_message);
93 void FileResponse_(HTTP::Status status, std::string address);
94 void FileResponse_(HTTP::Status status, std::string address,
Files::FileManager& file_manager);
97 void FillResponses_();
98 void FillStatusMessage_(JSON::Object::Ptr json_object, HTTP::Status status, std::string message);
101 std::map<HTTP::Status, Attributes> responses_;