http: fixed a bug with ignored user-agent

pull/3594/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -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