hugogogo
ad2b5a629a
correct extract_line to avoid duplicate with erase or substr, and to resolve pbm of returning trailing delim
2022-08-11 17:33:42 +02:00
hugogogo
ff77dfd298
debug new request parsing
2022-08-11 14:50:56 +02:00
hugogogo
27b4f96618
parsing headers is allright now
...
+ adding error codes in readme and in comments in client
2022-08-11 00:41:17 +02:00
hugogogo
1d67e6988d
http message parsin wip but really better
2022-08-11 00:28:01 +02:00
hugogogo
11f71ea74f
wip parsing first line http message with new utils functions
2022-08-10 20:27:48 +02:00
hugogogo
9a379c835d
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
2022-08-10 20:01:23 +02:00
hugogogo
c7905ebd19
changed del_line_in_str to etract_line
2022-08-10 17:12:28 +02:00
hugogogo
17230ccc42
in cgi exec add save stdin and out
2022-08-10 16:24:24 +02:00
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
hugogogo
ef034a356b
Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv
2022-08-09 14:59:39 +02:00
hugogogo
53a548e314
wip script output verification working
...
+ trim secure pos segfault
+ concat script message with server message
2022-08-09 14:57:05 +02:00
hugogogo
3dad938e3c
add extern function for http message parsing
...
+ wip compare fields server and script
+ g tout cassey
2022-08-09 11:19:46 +02:00
hugogogo
ae9a9b37f1
added test form html in www
2022-08-08 18:22:54 +02:00
hugogogo
e1a68bc3e4
changes var in client
2022-08-08 18:06:41 +02:00
hugogogo
f10931042f
rewrite readme cgi todo list
2022-08-08 16:16:11 +02:00
hugogogo
972f52ebc8
client variables are const ref
2022-08-08 15:36:16 +02:00
hugogogo
da1f4b6e37
cgi exec compare with file method
2022-08-08 13:20:06 +02:00
hugogogo
78c3ffa456
readme layout
2022-08-08 10:31:36 +02:00
hugogogo
988e15c738
readme layout
2022-08-08 10:30:20 +02:00
hugogogo
63365a9067
cgi_script read and write on a string
2022-08-07 22:33:39 +02:00
hugogogo
7ecfc22c7b
script path is found and fill
2022-08-07 15:51:36 +02:00
hugogogo
e0fd743b5b
key fields headers in map are in lowercase
...
+ getters for this map are case insensitive
+ change request fiel 'path' for 'uri', 'query', and 'abs_path'
2022-08-07 13:07:50 +02:00
hugogogo
63ff42b57d
client variables are made const
2022-08-06 19:58:09 +02:00
hugogogo
08928c46fc
Merge branch 'master' of bitbucket.org:LuckyLaszlo/webserv
2022-08-06 11:35:12 +02:00
hugogogo
6f171ec07b
wip cgi env variables
2022-08-06 11:34:48 +02:00
hugogogo
164f717e00
added informations on cgi from rfc 3875
2022-08-03 00:02:25 +02:00
hugogogo
83536ee8ad
syntax layout
2022-08-03 00:00:54 +02:00
hugogogo
6791b13a52
syntax layout
2022-08-02 23:58:09 +02:00
hugogogo
21283e2493
syntax layout
2022-08-02 23:50:14 +02:00
hugogogo
6c0dd771c3
syntax layout
2022-08-02 23:49:25 +02:00
hugogogo
c331b69600
cgi explanation reademe layout
2022-08-02 23:42:45 +02:00
hugogogo
41b5e57800
finish to read cgi rfc
2022-08-02 23:39:53 +02:00
hugogogo
d79281751a
cgi rfc parsing into readme
2022-08-02 21:16:09 +02:00
hugogogo
b30a3a1407
starting to find usefull informations in cgi rfc
2022-08-02 16:33:29 +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
hugogogo
af8dc072c1
added setsockopt to avoid reusability issue on socket fd
2022-07-31 12:31:55 +02:00
hugogogo
68af40a79f
clean makefile includes
2022-07-31 12:05:28 +02:00
hugogogo
5d0432188d
clean webserv includes
2022-07-31 11:45:59 +02:00
hugogogo
23844a0d55
clean webserv includes
2022-07-31 11:05:55 +02:00
hugogogo
8fb48bcc58
Makefile work with dependencies
2022-07-29 11:06:35 +02:00
hugogogo
04589e123b
Makefile work with dependencies
2022-07-29 11:04:21 +02:00