Searched defs:serverResponse (Results 1 – 1 of 1) sorted by relevance
715 func streamEnded(mainSr *serverResponse, streams map[uint32]*serverResponse, sr *serverResponse) bo…725 type serverResponse struct { struct726 status int // HTTP status code727 header http.Header // response header fields728 body []byte // response body729 streamID uint32 // stream ID in HTTP/2730 errCode http2.ErrCode // error code received in HTTP/2 RST_STREAM or GOAWAY731 connErr bool // true if HTTP/2 connection error732 connClose bool // Connection: close is included in response header in HTTP/1 test733 reqHeader http.Header // http request header, currently only stores pushed request header[all …]