Commit Graph

11 Commits

Author SHA1 Message Date
LuckyLaszlo
3102253092 wip DELETE, POST (no cgi, need testing) 2022-08-04 20:56:37 +02:00
LuckyLaszlo
a9ada4cb28 CRLF macro 2022-08-04 14:45:16 +02:00
LuckyLaszlo
0026106bf6 default and custom error pages response
+ refactoring in response.cpp (functions split)
+ added Client::clear()
+ added replace_all_substr() in utils.cpp
2022-08-04 02:52:31 +02:00
LuckyLaszlo
6f5b28dd93 wip, need somes changes in ConfigParser.
+ _determine_location()
+ http_method changes
+ http_method switch in _construct_response()
+ ConfigParser::_str_to_method_type() moved to global utils.cpp
2022-08-03 18:39:22 +02:00
LuckyLaszlo
8f167d85f3 wip integration of client.request and ServerConfig
+ Client get return reference
+ wip binary flags for http_method
+ moved config parser files
2022-08-02 21:11:54 +02:00
LuckyLaszlo
5aabeb6b46 removed useless files
+ MethodType renamed to http_method, and moved to utils.hpp
+ operator= overload for Client moved to Client.cpp
2022-08-02 14:26:07 +02:00
hugogogo
f252887d53 merge from hugo, add parsing requests and wip cgi 2022-08-01 20:41:07 +02:00
hugogogo
0d81c76e1a Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv 2022-07-31 13:19:32 +02:00
hugogogo
537572e2d0 changed itoa to c++ style and put it in utils, and change utils dependencies to not depend on webserv 2022-07-31 13:19:22 +02:00
LuckyLaszlo
ea3f3a390a bugfix invalid ptr in "ev.data.ptr" after vector<Client> resize/erase
+ persistent connections reintroduced
+ bugfix crash if invalid path in request
2022-07-31 13:19:11 +02:00
LuckyLaszlo
36868afa30 splitted Webserv.cpp 2022-07-29 17:16:26 +02:00