mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http.new_request: Don't ignore mutated variables url, data
This commit is contained in:
parent
d72c859bf9
commit
6eb8766e59
@ -56,8 +56,8 @@ pub fn new_request(typ, _url, _data string) *Request {
|
||||
// req.headers = new_map(0, sizeof(string))// []string{}
|
||||
return &Request {
|
||||
typ: typ
|
||||
url: _url
|
||||
data: _data
|
||||
url: url
|
||||
data: data
|
||||
ws_func: 0
|
||||
user_ptr: 0
|
||||
headers: map[string]string{}
|
||||
|
Loading…
Reference in New Issue
Block a user