func net/textproto.TrimString

28 uses

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

	net/http
		cookie.go#L64: 		parts := strings.Split(textproto.TrimString(line), ";")
		cookie.go#L68: 		parts[0] = textproto.TrimString(parts[0])
		cookie.go#L87: 			parts[i] = textproto.TrimString(parts[i])
		cookie.go#L246: 		line = textproto.TrimString(line)
		cookie.go#L255: 			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#L880: 		ra = textproto.TrimString(ra)
		fs.go#L888: 		start, end := textproto.TrimString(ra[:i]), textproto.TrimString(ra[i+1:])
		h2_bundle.go#L5637: 			key = CanonicalHeaderKey(textproto.TrimString(key))
		h2_bundle.go#L6481: 	v = textproto.TrimString(v)
		h2_bundle.go#L6490: 		if f = textproto.TrimString(f); f != "" {
		header.go#L196: 			v = textproto.TrimString(v)
		server.go#L1493: 	v = textproto.TrimString(v)
		server.go#L1502: 		if f = textproto.TrimString(f); f != "" {
		transfer.go#L641: 	if strings.ToLower(textproto.TrimString(raw[0])) != "chunked" {
		transfer.go#L675: 		first := textproto.TrimString(contentLens[0])
		transfer.go#L677: 			if first != textproto.TrimString(ct) {
		transfer.go#L716: 		cl = textproto.TrimString(contentLens[0])
		transfer.go#L1047: 	cl = textproto.TrimString(cl)

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

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

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