diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-22 02:28:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 02:28:44 -0500 |
| commit | 8470a48ef4c6ea4b16e9a764aaedc7158f9c37ed (patch) | |
| tree | 9c6e64d288199110887e599458b212a36183572f /dev/lib/utility | |
| parent | 6f8c36c3e004b9dc6802128f1cae34812cb8287b (diff) | |
| parent | 32af6ab79fe52efa6fc773a672e2732388999692 (diff) | |
Merge pull request #16 from amlel-el-mahrouss/developv1.0.471
chore & fix: codebase improvements and repo maintenance.
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 |
