const net/http.TrailerPrefix
7 uses
net/http (current package)
server.go#L499: const TrailerPrefix = "Trailer:"
server.go#L506: if strings.HasPrefix(k, TrailerPrefix) {
server.go#L510: t[strings.TrimPrefix(k, TrailerPrefix)] = vv
server.go#L1261: if strings.HasPrefix(k, TrailerPrefix) {
net/http/httptest
recorder.go#L206: if !strings.HasPrefix(k, http.TrailerPrefix) {
recorder.go#L213: res.Trailer.Add(strings.TrimPrefix(k, http.TrailerPrefix), v)
net/http/httputil
reverseproxy.go#L357: k = http.TrailerPrefix + k
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |