func net/textproto.TrimString

28 uses

	net/textproto (current package)
		textproto.go#L126: func TrimString(s string) string {

	net/http
		cookie.go#L67: 		parts := strings.Split(textproto.TrimString(line), ";")
		cookie.go#L71: 		parts[0] = textproto.TrimString(parts[0])
		cookie.go#L89: 			parts[i] = textproto.TrimString(parts[i])
		cookie.go#L284: 		line = textproto.TrimString(line)
		cookie.go#L289: 			part = textproto.TrimString(part)
		fs.go#L345: 	s = textproto.TrimString(s)
		fs.go#L397: 		im = textproto.TrimString(im)
		fs.go#L447: 		buf = textproto.TrimString(buf)
		fs.go#L882: 		ra = textproto.TrimString(ra)
		fs.go#L890: 		start, end = textproto.TrimString(start), textproto.TrimString(end)
		h2_bundle.go#L5817: 			key = CanonicalHeaderKey(textproto.TrimString(key))
		h2_bundle.go#L6665: 	v = textproto.TrimString(v)
		h2_bundle.go#L6674: 		if f = textproto.TrimString(f); f != "" {
		header.go#L206: 			v = textproto.TrimString(v)
		server.go#L1493: 	v = textproto.TrimString(v)
		server.go#L1502: 		if f = textproto.TrimString(f); f != "" {
		transfer.go#L643: 	if !ascii.EqualFold(textproto.TrimString(raw[0]), "chunked") {
		transfer.go#L677: 		first := textproto.TrimString(contentLens[0])
		transfer.go#L679: 			if first != textproto.TrimString(ct) {
		transfer.go#L718: 		cl = textproto.TrimString(contentLens[0])
		transfer.go#L1049: 	cl = textproto.TrimString(cl)

	net/http/httptest
		recorder.go#L244: 	cl = textproto.TrimString(cl)

	net/http/httputil
		reverseproxy.go#L402: 			if sf = textproto.TrimString(sf); sf != "" {

	golang.org/x/net/http2
		server.go#L2220: 			key = http.CanonicalHeaderKey(textproto.TrimString(key))
		server.go#L3152: 	v = textproto.TrimString(v)
		server.go#L3161: 		if f = textproto.TrimString(f); f != "" {