mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: fix vlib/net/http/cookie_test.v
This commit is contained in:
@ -415,13 +415,10 @@ fn is_cookie_name_valid(name string) bool {
|
||||
if name == '' {
|
||||
return false
|
||||
}
|
||||
// TODO
|
||||
/*
|
||||
for b in name.bytes() {
|
||||
if !(b in arrays.range<byte>(33, 126)) {
|
||||
for b in name {
|
||||
if b < 33 || b > 126 {
|
||||
return false
|
||||
}
|
||||
}
|
||||
*/
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user