Webserv
Loading...
Searching...
No Matches
StaticFile.cpp File Reference
#include "http/Handler.hpp"
#include "http/HttpRequest.hpp"
#include "http/HttpResponse.hpp"
#include "http/MimeTypes.hpp"
#include "http/error_pages.hpp"
#include "http/utils.hpp"
#include <cstddef>
#include <errno.h>
#include <fcntl.h>
#include <string>
#include <sys/stat.h>
#include <unistd.h>
#include <vector>

Namespaces

namespace  http
namespace  http::details

Functions

std::string http::details::getPath (HttpRequest const &req, config::LocationBlock const &l)