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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user