Commit Graph

13 Commits

Author SHA1 Message Date
hugogogo
482a38952e Merge branch 'hugo2'
+ changed the appropriate getters for client
+ moved the functions to parse the http message
  (first line, headers, and body)
  outside client, in parsing_http_message.cpp
+ resolved some of the throw problems
2022-08-09 15:54:40 +02:00
Me
97c90236b9 cgi_ext, redirect and upload_repo now functional in config, fixed location picker, some cleanup 2022-08-09 02:37:28 +02:00
hugogogo
ae9a9b37f1 added test form html in www 2022-08-08 18:22:54 +02:00
Me
f87024c32f further tested autoindex, and i got a .css stylesheet to load from a folder outside of /www, pretty neat :) 2022-08-08 04:02:53 +02:00
Me
9ee7205b95 Index and Autoindex work nicely, standarized way paths for root and location path are stored in config, still needs a little polishing prolly 2022-08-08 02:50:37 +02:00
Me
f777441edf autoindex in progress but need to check stuff on master branch 2022-08-07 20:37:53 +02:00
Me
6f0c3b4d6d kinda successful merge, weird tho, didn't go as smoothly with VScode as usual... 2022-08-05 22:25:11 +02:00
Me
f7dc5ccde4 ok Location sorting and processing is finally working as expected, still a few things to add like error_pages but will get there soon 2022-08-05 21:46:46 +02:00
LuckyLaszlo
e596d8f093 MIME types map for correct Content-type header
+ append body to string cause encoding problem, so added temp buf in Client.
2022-08-05 04:24:15 +02:00
Me
9ac14aa1aa Well we learned a lot from Nginx, starting to incorporate some, but hoping for feedback before i do most of that, instead worked on improving the location sorter and checking that locations paths are valid, close but not quite done 2022-08-05 03:42:42 +02:00
Me
3d46505411 well, restructured things a bit, but mostly started trying to sort LocationConfigs, it is sort of going well, good ideas, implementations is still a bit lacking... 2022-08-04 01:09:40 +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
Me
35ac55b5e8 still working on integrating the config file stuff 2022-07-25 21:00:04 +02:00