Tarcisio Gruppi
23dc85d94d
Making string index methods follow the same standard
...
All string index methods that end with `_opt` return `?int` with none as
the value when the substring is not found
and the index methods that do not end in `_opt` return `int` with -1 as
the returned value when the substring is not found
2022-03-17 09:27:11 -03:00
Alexander Medvednikov
59ed4be49a
all: update copyright year
2022-01-04 12:21:12 +03:00
yuyi
e5360e164a
fmt: remove unnecessary parentheses after `return` ( fix #11423 ) ( #11435 )
2021-09-08 14:19:53 +03:00
Miccah
a0e27d3fd9
net.http: refactor the Response struct ( #10922 )
2021-07-24 20:47:45 +03:00
Miccah
0acb84d5a5
net: add parse_headers function and handle header line folding ( #10936 )
...
Closes https://github.com/vlang/v/issues/10930
2021-07-24 11:31:33 +03:00
Miccah
44e78a6301
vweb: use http.Response constants instead of strings ( #10730 )
2021-07-10 11:58:07 +03:00
JalonSolov
aaa59ac770
net: fix chunked check, remove length workaround ( #10472 )
2021-06-15 19:28:54 +03:00
Delyan Angelov
d7d9305d96
net: vfmt everything
2021-06-14 10:08:41 +03:00
Miccah
c2981de4d5
http: add server.v and organize HTTP request and response code ( #10355 )
2021-06-06 00:43:14 +03:00