Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for connectionHeader (0.14 sec)

  1. src/net/http/serve_test.go

    			"Host: test\r\n" +
    			tt.connectionHeader() +
    			"Transfer-Encoding: chunked\r\n" +
    			"\r\n")
    		cw := internal.NewChunkedWriter(&conn.readBuf)
    		io.WriteString(cw, body)
    		cw.Close()
    		conn.readBuf.WriteString("\r\n")
    	} else {
    		conn.readBuf.Write([]byte(fmt.Sprintf(
    			"POST / HTTP/1.1\r\n"+
    				"Host: test\r\n"+
    				tt.connectionHeader()+
    				"Content-Length: %d\r\n"+
    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