Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fetchWireResponse (0.13 sec)

  1. src/net/http/serve_test.go

    					t.Errorf("Log entry mismatch\n\t%s\ndoes not match\n\t%s", logEntry, pat)
    				}
    			}
    		})
    	}
    }
    
    // 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
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top