File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -119,10 +119,6 @@ func removeEmptyPort(host string) string {
119119 return host
120120}
121121
122- func isNotToken (r rune ) bool {
123- return ! httpguts .IsTokenRune (r )
124- }
125-
126122// isToken reports whether v is a valid token (https://www.rfc-editor.org/rfc/rfc2616#section-2.2).
127123func isToken (v string ) bool {
128124 // For historical reasons, this function is called ValidHeaderFieldName (see issue #67031).
Original file line number Diff line number Diff line change @@ -394,14 +394,6 @@ func inverseRelationship(r relationship) relationship {
394394 }
395395}
396396
397- // isLitOrSingle reports whether the segment is a non-dollar literal or a single wildcard.
398- func isLitOrSingle (seg segment ) bool {
399- if seg .wild {
400- return ! seg .multi
401- }
402- return seg .s != "/"
403- }
404-
405397// describeConflict returns an explanation of why two patterns conflict.
406398func describeConflict (p1 , p2 * pattern ) string {
407399 mrel := p1 .compareMethods (p2 )
You can’t perform that action at this time.
0 commit comments