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{}
|
// req.headers = new_map(0, sizeof(string))// []string{}
|
||||||
return &Request {
|
return &Request {
|
||||||
typ: typ
|
typ: typ
|
||||||
url: _url
|
url: url
|
||||||
data: _data
|
data: data
|
||||||
ws_func: 0
|
ws_func: 0
|
||||||
user_ptr: 0
|
user_ptr: 0
|
||||||
headers: map[string]string{}
|
headers: map[string]string{}
|
||||||
|
Loading…
Reference in New Issue
Block a user