1
0
mirror of https://github.com/golang/go synced 2024-09-29 07:24:32 -06:00

Minor: Fix broken link in comment.

Ln 105: Url is dead. Adding an Archive link instead.

[Archive](https://web.archive.org/web/20170105004655/http://docstore.mik.ua/orelly/linux/cgi/ch03_02.htm#ch03-35636)
This commit is contained in:
Samuel Kelemen 2019-03-01 15:27:29 -05:00 committed by GitHub
parent 45861a64d3
commit 0601e4d6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ func RequestFromMap(params map[string]string) (*http.Request, error) {
} }
// There's apparently a de-facto standard for this. // 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" { if s := params["HTTPS"]; s == "on" || s == "ON" || s == "1" {
r.TLS = &tls.ConnectionState{HandshakeComplete: true} r.TLS = &tls.ConnectionState{HandshakeComplete: true}
} }