From 5c29e7b2573f32b6874994cd87d06e2291a3fdcb Mon Sep 17 00:00:00 2001 From: div72 <60045611+div72@users.noreply.github.com> Date: Wed, 29 Jan 2020 06:05:37 +0300 Subject: [PATCH] http: fixed a bug with ignored user-agent --- vlib/net/http/http.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/net/http/http.v b/vlib/net/http/http.v index 613b3c267c..178659abff 100644 --- a/vlib/net/http/http.v +++ b/vlib/net/http/http.v @@ -107,7 +107,7 @@ pub fn fetch(_url string, config FetchConfig) ?Response { data: data headers: config.headers cookies: config.cookies - user_agent: 'v' + user_agent: config.user_agent ws_func: 0 user_ptr: 0 verbose: config.verbose