Webserv
Loading...
Searching...
No Matches
FileUploadValidator.hpp File Reference
#include "http/HttpStatus.hpp"
#include "http/MimeTypes.hpp"
#include "http/Request.hpp"
#include <string>

Go to the source code of this file.

Classes

struct  http::upload::UploadValidationResult
 Represents the result of a validation or parsing operation. More...

Namespaces

namespace  http
namespace  http::upload

Functions

std::string http::upload::extractHeaderParam (const std::string &str, const std::string &toFind)
UploadValidationResult http::upload::parseFilename (Request const &req, MimeTypes const &mime)
UploadValidationResult http::upload::validateUploadPath (const std::string &path)