mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-07 12:59:45 +00:00
Pass the output stream and cgi_env to Response.
Mask the fact that they are globals, because I need to be able to pass different classes in order to be able to write unit tests for response classes.
This commit is contained in:
parent
8980a1d1ff
commit
cd1be59cfa
12 changed files with 81 additions and 28 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "split_get_vars.hpp"
|
||||
#include "duckhandy/compatibility.h"
|
||||
#include "escapist.hpp"
|
||||
#include "kakoune/safe_ptr.hh"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <boost/utility/string_ref.hpp>
|
||||
|
@ -30,7 +31,7 @@
|
|||
|
||||
namespace tawashi {
|
||||
namespace cgi {
|
||||
class Env {
|
||||
class Env : public Kakoune::SafeCountable {
|
||||
public:
|
||||
struct VersionInfo {
|
||||
boost::string_ref name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue