Commit Graph

23 Commits (0866c73f4b75ba15da53a456b08dce90a83976e6)

Author SHA1 Message Date
Lathanao 57b490706b
net.http: make parse_form return POST requests with json data as a map with a `json` key, containing the json payload (#14289) 2022-05-08 14:03:56 +02:00
Alexander Medvednikov f293874c05
all: replace []byte with []u8 2022-04-17 12:14:28 +02:00
Delyan Angelov 566f150b24
net.http: add parse_request_head/1, cleanup existing code 2022-04-15 10:33:44 +03:00
Alexander Medvednikov 36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
Tim Basel 9d0a5942ac
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
Vincenzo Palazzo 0d1d259bb4
net.urllib: keep the query parameter order (#13405) 2022-02-09 17:36:12 +02:00
Delyan Angelov 1cea7b0c73
ci: vfmt vlib/net/http/request.v 2022-01-24 14:33:12 +02:00
ZoaR 4ba9a2ffbe
net.http: implement a Request.allow_redirect field (true by default) (#13259) 2022-01-24 14:00:30 +02:00
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Delyan Angelov 466ced2876
net.http: fix multipart/form-data file upload handling 2021-11-10 17:31:41 +02:00
Anton Zavodchikov 4c8094d0d9
net.http: make public errors and parse_form (#12038) 2021-10-02 15:28:35 +03:00
yuyi 108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
Miccah ead5e66afd
net.http: add post_multipart_form function (#11511) 2021-09-16 07:34:07 +03:00
Alexander Medvednikov 90e04d03b2 net.http: fix request_test.v 2021-09-11 06:16:00 +03:00
Alexander Medvednikov 1546090131 vweb: remove a duplicate function parse_multipart_form 2021-09-11 04:21:10 +03:00
Alexander Medvednikov d1e9aa49ea net.http: in memory cert verification 2021-09-09 19:55:57 +03:00
Delyan Angelov 56993b9e2d
net.http: support passing client certificates in http.fetch (#11356) 2021-09-01 01:43:35 +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
Andreas Heissenberger b2e2a53f98
net.http: add ability to parametrize the read and write timeouts of a http request (#10482) 2021-06-16 20:21:49 +03:00
JalonSolov 6e41561124
net: fix download_file (#10439) 2021-06-13 01:40:32 +03:00
Alexander Medvednikov aea93c3a96 net.http: vfmt and remove unused ws_func 2021-06-06 01:51:49 +03:00
Miccah c2981de4d5
http: add server.v and organize HTTP request and response code (#10355) 2021-06-06 00:43:14 +03:00