🏗️」 wip(includes): very very wip of the headers (this commit should be deleted later)

This commit is contained in:
y-syo
2025-02-11 13:52:45 +01:00
parent 935de681d9
commit 3c1eb1ec99
9 changed files with 217 additions and 54 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/03 17:28:31 by mmoussou #+# #+# */
/* Updated: 2025/02/04 15:18:26 by mmoussou ### ########.fr */
/* Updated: 2025/02/11 10:20:12 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,7 +17,7 @@ size_t _status_code;
std::string _status_text;
std::map<std::string, std::string> _headers;
std::string _body;*/
/*
HttpResponse::HttpResponse(const HttpRequest &request): _protocol(request.protocol)
{
std::ifstream file(request.target.c_str(), std::ios::binary);
@ -55,4 +55,4 @@ std::string HttpResponse::str(void) const
response << this->_body;
return (response.str());
}
}*/