mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: fixed a bug with ignored user-agent
This commit is contained in:
parent
0f1b0f7ed4
commit
5c29e7b257
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user