- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for http1ReqBody (0.22 sec)
-
src/net/http/serve_test.go
// fetchWireResponse is a helper for dialing to host, // sending http1ReqBody as the payload and retrieving // the response as it was sent on the wire. func fetchWireResponse(host string, http1ReqBody []byte) ([]byte, error) { conn, err := net.Dial("tcp", host) if err != nil { return nil, err } defer conn.Close() if _, err := conn.Write(http1ReqBody); err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)