diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-16 21:35:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-16 21:35:13 +0200 |
| commit | 443588a42fe9cf48b5f63184b94afe483cb0e761 (patch) | |
| tree | b65844000839103efb40c635337339dc8f193f89 /dev/lib/utility/cgi.hpp | |
| parent | 8b7b48fe4acf0482580930eaebaa2f316727f864 (diff) | |
| parent | 95db0ac7dcb8625c5a1e92408c0c02962b205871 (diff) | |
Merge pull request #3 from snutech-gh/dev
SOCL – v1.0.4
Diffstat (limited to 'dev/lib/utility/cgi.hpp')
| -rw-r--r-- | dev/lib/utility/cgi.hpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/dev/lib/utility/cgi.hpp b/dev/lib/utility/cgi.hpp index 8e2170e..57625b8 100644 --- a/dev/lib/utility/cgi.hpp +++ b/dev/lib/utility/cgi.hpp @@ -32,35 +32,35 @@ namespace snu public: explicit basic_writer() = default; - ~basic_writer() = default; + ~basic_writer() = default; basic_writer& operator=(const basic_writer&) = default; basic_writer(const basic_writer&) = default; public: - basic_writer& binary(const std::basic_stringstream<char_type>& ss_html) + basic_writer& binary(const std::basic_stringstream<char_type>& ss_in) { - return this->eval_("application/octet-stream", ss_html); + return this->eval_("application/octet-stream", ss_in); } - basic_writer& html(const std::basic_stringstream<char_type>& ss_html) + basic_writer& html(const std::basic_stringstream<char_type>& ss_in) { - return this->eval_("text/html", ss_html); + return this->eval_("text/html", ss_in); } - basic_writer& xml(const std::basic_stringstream<char_type>& ss_html) + basic_writer& xml(const std::basic_stringstream<char_type>& ss_in) { - return this->eval_("application/xml", ss_html); + return this->eval_("application/xml", ss_in); } - basic_writer& json(const std::basic_stringstream<char_type>& ss_html) + basic_writer& json(const std::basic_stringstream<char_type>& ss_in) { - return this->eval_("application/json", ss_html); + return this->eval_("application/json", ss_in); } - basic_writer& js(const std::basic_stringstream<char_type>& ss_html) + basic_writer& js(const std::basic_stringstream<char_type>& ss_in) { - return this->eval_("text/javascript", ss_html); + return this->eval_("text/javascript", ss_in); } }; } // namespace cgi |
