net/http/httptest.ResponseRecorder.snapHeader (field)
6 uses
net/http/httptest (current package)
recorder.go#L46: snapHeader http.Header // snapshot of HeaderMap at first Write
recorder.go#L135: rw.snapHeader = rw.HeaderMap.Clone()
recorder.go#L166: if rw.snapHeader == nil {
recorder.go#L167: rw.snapHeader = rw.HeaderMap.Clone()
recorder.go#L174: Header: rw.snapHeader,
recorder.go#L188: if trailers, ok := rw.snapHeader["Trailer"]; ok {
![]() |
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. |