Something went wrong. Try again.
An HTTP server written in C++98 projects.intra.42.fr/projects/webserv
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041/* ************************************************************************** *//* *//* ::: :::::::: *//* Header.cpp :+: :+: :+: *//* +:+ +:+ +:+ *//* By: bcausseq <bcausseq@42angouleme.fr> +#+ +:+ +#+ *//* +#+#+#+#+#+ +#+ *//* Created: 2026/09/27 22:40:20 by bcausseq #+# #+# *//* Updated: 2026/09/27 22:43:59 by bcausseq ### ########.fr *//* *//* ************************************************************************** */
#include "http/Header.hpp"
Header::Header(std::string method, std::string path, std::string version) : _method(method), _path(path), _version(version){}
Header::~Header(){}
const std::string&Header::get_method() const{ return (_method);}
const std::string&Header::get_path() const{ return (_path);}
const std::string&Header::get_version() const{ return (_version);}