remove extra newline

This commit is contained in:
Sasha Klizhentas 2017-10-11 15:31:53 -07:00
parent 35e380ac9c
commit d7e3ff1416

View file

@ -196,7 +196,7 @@ func roundtrip(addr string) (string, error) {
return "", err
}
defer conn.Close()
fmt.Fprintf(conn, "GET / HTTP/1.1\r\nHost: 127.0.0.1\r\n\r\n\r\n")
fmt.Fprintf(conn, "GET / HTTP/1.1\r\nHost: 127.0.0.1\r\n\r\n")
re, err := http.ReadResponse(bufio.NewReader(conn), nil)
if err != nil {