We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiplying the qvalues in the test by 10 still makes it pass.
diff --git a/autoneg_test.go b/autoneg_test.go --- a/autoneg_test.go +++ b/autoneg_test.go @@ -4,7 +4,7 @@ import ( "testing" ) -var chrome = "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" +var chrome = "application/xml;q=10,application/xhtml+xml;q=10,text/html;q=9,text/plain;q=8,image/png;q=10,*/*;q=5" func TestParseAccept(t *testing.T) { alternatives := []string{"text/html", "image/png"}
It'd be great to have it aligned with the RFC.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Multiplying the qvalues in the test by 10 still makes it pass.
It'd be great to have it aligned with the RFC.
The text was updated successfully, but these errors were encountered: