1
0
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:
div72 2020-01-29 06:05:37 +03:00 committed by GitHub
parent 0f1b0f7ed4
commit 5c29e7b257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ pub fn fetch(_url string, config FetchConfig) ?Response {
data: data data: data
headers: config.headers headers: config.headers
cookies: config.cookies cookies: config.cookies
user_agent: 'v' user_agent: config.user_agent
ws_func: 0 ws_func: 0
user_ptr: 0 user_ptr: 0
verbose: config.verbose verbose: config.verbose