summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/utility
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lib/utility')
-rw-r--r--dev/lib/utility/cgi.hpp (renamed from dev/lib/utility/cgi_writer.hpp)10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/lib/utility/cgi_writer.hpp b/dev/lib/utility/cgi.hpp
index 7b95b2e..fd00bbf 100644
--- a/dev/lib/utility/cgi_writer.hpp
+++ b/dev/lib/utility/cgi.hpp
@@ -1,11 +1,11 @@
/*
- * File: cgi_writer.hpp
+ * File: cgi.hpp
* Author: Amlal El Mahrouss,
* Copyright 2023-2025, Amlal El Mahrouss, Licensed under the Boost Software License.
*/
-#ifndef _OCL_CGI_WRITER_HPP
-#define _OCL_CGI_WRITER_HPP
+#ifndef _OCL_CGI_HPP
+#define _OCL_CGI_HPP
#include <lib/io/print.hpp>
#include <lib/core/chunk_string.hpp>
@@ -26,7 +26,7 @@ namespace ocl
std::basic_stringstream<char_type> ss_out;
ss_out << std::format("Content-Type: {}\r\n", mime.str());
- ss_out << std::format("Server: {}\r\n", "OCL-CGI/1.0");
+ ss_out << std::format("Server: {}\r\n", "OCL/1.0");
ss_out << std::format("Content-Length: {}\r\n\r\n", ss.str().size());
ss_out << ss.str();
@@ -76,4 +76,4 @@ namespace ocl
} // namespace cgi
} // namespace ocl
-#endif // ifndef _OCL_CGI_WRITER_HPP
+#endif // ifndef _OCL_CGI_HPP