1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net.http: support passing client certificates in http.fetch (#11356)

This commit is contained in:
Delyan Angelov
2021-09-01 01:43:35 +03:00
committed by GitHub
parent d1974f500f
commit 56993b9e2d
5 changed files with 64 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ import net.http
fn main() {
resp := http.get('https://vlang.io/utc_now') or {
println('failed to fetch data from the server')
eprintln('Failed to fetch data from the server. Error: $err')
return
}