🏗️」 wip(requests): work in progress, not done yet.

This commit is contained in:
y-syo
2025-02-14 17:11:33 +01:00
parent 00f85cbed7
commit 28713b407a
4 changed files with 106 additions and 21 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/11 22:13:38 by mmoussou #+# #+# */
/* Updated: 2025/02/12 00:55:12 by mmoussou ### ########.fr */
/* Updated: 2025/02/14 17:10:42 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -37,6 +37,8 @@ protected:
std::multimap<std::string, std::string> _headers;
std::string _body;
static const std::map<int, std::string> _response_status_codes;
};
} // -namespace http

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/03 17:23:00 by mmoussou #+# #+# */
/* Updated: 2025/02/12 08:56:21 by mmoussou ### ########.fr */
/* Updated: 2025/02/14 15:43:32 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,6 +14,7 @@
#ifndef __WEBSERV_REQUESTS_HTTP_REQUEST_HPP__
# define __WEBSERV_REQUESTS_HTTP_REQUEST_HPP__
#include <ctime>
#include <fstream>
#include <sstream>
#include <iostream>