1
// Copyright 2009 The Go Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style
3
// license that can be found in the LICENSE file.
7
// This file deals with lexical matters of HTTP
9
var isTokenTable = [127]bool{
89
func isToken(r rune) bool {
91
return i < len(isTokenTable) && isTokenTable[i]
94
func isNotToken(r rune) bool {