mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 12:57:05 +00:00
:)
This commit is contained in:
@@ -135,7 +135,7 @@ func expectTokenSlash(s string) (token, rest string) {
|
||||
|
||||
func expectQuality(s string) (q float64, rest string) {
|
||||
switch {
|
||||
case len(s) == 0:
|
||||
case s == "":
|
||||
return -1, ""
|
||||
case s[0] == '0':
|
||||
q = 0
|
||||
|
||||
Reference in New Issue
Block a user