mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-26 17:46:34 +03:00
docs: replace links to golang.org with go.dev (#1489)
- Replace https://godoc.org with https://pkg.go.dev. - Replace https://golang.org with https://go.dev. - Replace https://golang.org/pkg with https://pkg.go.dev. - Replace https://blog.golang.org with https://go.dev/blog. - Use https://pkg.go.dev/golang.org/x/net/http2 instead of non-existing https://http2.golang.org/. - Remove trailing slashes.
This commit is contained in:
+3
-3
@@ -58,9 +58,9 @@ func TestServerCRNLAfterPost_Pipeline(t *testing.T) {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
defer c.Close()
|
||||
if _, err = c.Write([]byte("POST / HTTP/1.1\r\nHost: golang.org\r\nContent-Length: 3\r\n\r\nABC" +
|
||||
if _, err = c.Write([]byte("POST / HTTP/1.1\r\nHost: go.dev\r\nContent-Length: 3\r\n\r\nABC" +
|
||||
"\r\n\r\n" + // <-- this stuff is bogus, but we'll ignore it
|
||||
"GET / HTTP/1.1\r\nHost: golang.org\r\n\r\n")); err != nil {
|
||||
"GET / HTTP/1.1\r\nHost: go.dev\r\n\r\n")); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ func TestServerCRNLAfterPost(t *testing.T) {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
defer c.Close()
|
||||
if _, err = c.Write([]byte("POST / HTTP/1.1\r\nHost: golang.org\r\nContent-Length: 3\r\n\r\nABC" +
|
||||
if _, err = c.Write([]byte("POST / HTTP/1.1\r\nHost: go.dev\r\nContent-Length: 3\r\n\r\nABC" +
|
||||
"\r\n\r\n", // <-- this stuff is bogus, but we'll ignore it
|
||||
)); err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user