#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/HttpServer.hpp>
◆ ~ResponseNotFound()
| Slic3r::GUI::HttpServer::ResponseNotFound::~ResponseNotFound |
( |
| ) |
|
|
overridedefault |
◆ write_response()
| void Slic3r::GUI::HttpServer::ResponseNotFound::write_response |
( |
std::stringstream & | ssOut | ) |
|
|
overridevirtual |
Implements Slic3r::GUI::HttpServer::Response.
421{
422 const std::string sHTML = "<html><body><h1>404 Not Found</h1><p>There's nothing here.</p></body></html>";
423 ssOut << "HTTP/1.1 404 Not Found" << std::endl;
424 ssOut << "content-type: text/html" << std::endl;
425 ssOut << "content-length: " << sHTML.length() << std::endl;
426 ssOut << std::endl;
427 ssOut << sHTML;
428}
The documentation for this class was generated from the following files: