diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-30 12:01:02 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-30 12:01:02 +0200 |
| commit | 5b1b2019c33d0f0472081b64025eba034f3004fd (patch) | |
| tree | 173369ed713c6041299a5953eae674db5514b67c /lib/stdx/cgi.hpp | |
| parent | 57426fa79796120babf9e19c72281891d1e35a63 (diff) | |
lib/cgi.hpp: better 'Server' field, no spaces anymore (according to std)
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib/stdx/cgi.hpp')
| -rw-r--r-- | lib/stdx/cgi.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdx/cgi.hpp b/lib/stdx/cgi.hpp index 17116e7..d3f549d 100644 --- a/lib/stdx/cgi.hpp +++ b/lib/stdx/cgi.hpp @@ -20,7 +20,7 @@ namespace stdx cgi_writer& eval_(const std::string& mime, const std::stringstream& ss) noexcept { std::printf("Content-Type: %s\r\n", mime.c_str()); - std::printf("Server: %s\r\n", "STDX CGI"); + std::printf("Server: %s\r\n", "stdx-cpp-library"); std::printf("Content-Length: %ld\r\n\r\n", ss.str().size()); std::printf("%s", ss.str().c_str()); |
