Commit graph

14 commits

Author SHA1 Message Date
Delyan Angelov
ded45dce4c net.http: support v -http -d http_folder=vlib/_docs (allow customizing the folder, port, and index file through CLI arguments to v -http) 2025-05-14 21:54:21 +03:00
kbkpbot
f053f99406
net.http.file: use urllib decode uri, to handle urls to files that have unicode characters in their name (fix #23683) (#23684) 2025-02-10 21:36:56 +02:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Delyan Angelov
354b21003a
net.http.file: fix usage examples (add closing apostrophes) 2024-04-23 17:20:05 +03:00
Delyan Angelov
4f0a8b5ee2
net.http.file: support index_file (index.html by default), and auto_index (true by default) parameters to file.serve() 2024-04-22 08:28:51 +03:00
Delyan Angelov
856984aa14
cleanup: turn .microseconds() ... us to .microseconds() ... µs (#20588) 2024-01-20 07:16:24 +02:00
Delyan Angelov
de3b2b00a3
os, net.http.file: add a folder listing to the http static file server, started by file.serve/1 (#20192) 2023-12-16 08:06:30 +02:00
Delyan Angelov
687b33a137
net.http.file: fix oneline usage examples in the comments of file.serve/1 2023-12-15 20:34:12 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Delyan Angelov
d93488b141
vlib: add net.http.file, allowing for v -e "import net.http.file; file.serve()" (#19348) 2023-09-15 00:45:02 +03:00