diff --git a/vlib/http/http.v b/vlib/http/http.v index dcc9c47ab0..5f38259f9e 100644 --- a/vlib/http/http.v +++ b/vlib/http/http.v @@ -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{}