mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
feat: add headersize
This commit is contained in:
@@ -13,6 +13,7 @@ private:
|
||||
int _ret;
|
||||
int _row;
|
||||
unsigned int _contentLength;
|
||||
unsigned int _headerSize;
|
||||
|
||||
std::string _URI;
|
||||
std::string _head;
|
||||
@@ -40,6 +41,8 @@ public:
|
||||
std::string getLocation(void);
|
||||
ServerConfig *getConfig(void);
|
||||
int getCode(void);
|
||||
unsigned int getContentLength(void) const;
|
||||
unsigned int getHeaderSize(void) const;
|
||||
std::map<std::string, std::string> getClientFields(void);
|
||||
bool getChunked(void);
|
||||
|
||||
@@ -73,4 +76,4 @@ public:
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user