mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net.urllib: fix values (used for query string/form data)
This commit is contained in:
committed by
Alexander Medvednikov
parent
69084b0c57
commit
9e76d8a638
@@ -861,7 +861,7 @@ fn _parse_query(m mut Values, query string) ?bool {
|
||||
|
||||
// encode encodes the values into ``URL encoded'' form
|
||||
// ('bar=baz&foo=quux') sorted by key.
|
||||
fn (v Values) encode() string {
|
||||
pub fn (v Values) encode() string {
|
||||
if v.size == 0 {
|
||||
return ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user