🏗️」 wip: nothing is working anymore

This commit is contained in:
2025-04-23 17:34:22 +02:00
parent f94f060821
commit 1dc3a61b01
3 changed files with 34 additions and 11 deletions

36
includes/requests/Cgi.hpp Normal file
View File

@ -0,0 +1,36 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cgi.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/03/24 14:17:34 by adjoly #+# #+# */
/* Updated: 2025/04/23 17:27:45 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include "requests/HttpIMessage.hpp"
#include <map>
#include <string>
namespace webserv {
class Cgi {
public:
Cgi(http::IMessage &);
~Cgi(void);
void initEnvp(void);
protected:
private:
std::map<std::string, std::string> _envp;
std::string _request;
};
};