correction of trim in case of str only fill with delim char
+ added a new split, that also does trim, to split without counting newlines
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
# include <map>
|
||||
# include "utils.hpp"
|
||||
|
||||
size_t
|
||||
parse_http_first_line(std::string message, std::vector<std::string> &line);
|
||||
std::vector<std::string>
|
||||
parse_http_first_line(std::string message);
|
||||
|
||||
std::map<std::string, std::string>
|
||||
parse_http_headers(std::string message);
|
||||
|
||||
Reference in New Issue
Block a user