]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: update net/http package to replace a broken link with an archive link
authorSamuel Kelemen <SCKelemen@users.noreply.github.com>
Fri, 1 Mar 2019 22:42:58 +0000 (22:42 +0000)
committerBryan C. Mills <bcmills@google.com>
Sat, 2 Mar 2019 01:34:38 +0000 (01:34 +0000)
replaces broken link with a web.archive.org link.

Change-Id: I438536a6ac51d837c30be5df7d3d0caadf65bb95
GitHub-Last-Rev: 0601e4d6b2440f7fb97a6700b74651dc16645c50
GitHub-Pull-Request: golang/go#30523
Reviewed-on: https://go-review.googlesource.com/c/164761
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/net/http/cgi/child.go

index 10325c2eb5ae023d7a511c1abfb85408f1c0777a..cb140f8f2f643e43b9b47a36bec57ecbac916abe 100644 (file)
@@ -102,7 +102,7 @@ func RequestFromMap(params map[string]string) (*http.Request, error) {
        }
 
        // There's apparently a de-facto standard for this.
-       // https://docstore.mik.ua/orelly/linux/cgi/ch03_02.htm#ch03-35636
+       // https://web.archive.org/web/20170105004655/http://docstore.mik.ua/orelly/linux/cgi/ch03_02.htm#ch03-35636
        if s := params["HTTPS"]; s == "on" || s == "ON" || s == "1" {
                r.TLS = &tls.ConnectionState{HandshakeComplete: true}
        }