mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net: fix chunked check, remove length workaround (#10472)
This commit is contained in:
@ -68,9 +68,5 @@ pub fn decode(text string) string {
|
||||
cscanner.skip_crlf()
|
||||
}
|
||||
cscanner.skip_crlf()
|
||||
if sb.len > 0 {
|
||||
return sb.str()
|
||||
} else {
|
||||
return text
|
||||
}
|
||||
return sb.str()
|
||||
}
|
||||
|
Reference in New Issue
Block a user