Home | History | Annotate | Download | only in http

Lines Matching defs:String

31 	name string
34 func (k *contextKey) String() string { return "net/http context value " + k.name }
36 // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
37 // return true if the string includes a port.
38 func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
42 func removeEmptyPort(host string) string {
53 func isASCII(s string) bool {
62 func hexEscapeNonASCII(s string) string {
83 return string(b)
108 Method string
140 Push(target string, opts *PushOptions) error