aboutsummaryrefslogtreecommitdiff
path: root/src/mime
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2018-06-01 17:29:59 -0300
committerIan Lance Taylor <iant@golang.org>2018-06-01 21:52:00 +0000
commit161874da2ab6d5372043a1f3938a81a19d1165ad (patch)
tree6662b46b3a1216501e2d37d71f3521e049e87b79 /src/mime
parent7cb1810fe8117d4c5112ecea7a65f28f03009ef7 (diff)
downloadgo-161874da2ab6d5372043a1f3938a81a19d1165ad.tar.gz
go-161874da2ab6d5372043a1f3938a81a19d1165ad.zip
all: update comment URLs from HTTP to HTTPS, where possible
Each URL was manually verified to ensure it did not serve up incorrect content. Change-Id: I4dc846227af95a73ee9a3074d0c379ff0fa955df Reviewed-on: https://go-review.googlesource.com/115798 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/mime')
-rw-r--r--src/mime/multipart/multipart.go4
-rw-r--r--src/mime/quotedprintable/writer_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mime/multipart/multipart.go b/src/mime/multipart/multipart.go
index 06fa736f95..adaaf6975a 100644
--- a/src/mime/multipart/multipart.go
+++ b/src/mime/multipart/multipart.go
@@ -61,7 +61,7 @@ type Part struct {
// FormName returns the name parameter if p has a Content-Disposition
// of type "form-data". Otherwise it returns the empty string.
func (p *Part) FormName() string {
- // See http://tools.ietf.org/html/rfc2183 section 2 for EBNF
+ // See https://tools.ietf.org/html/rfc2183 section 2 for EBNF
// of Content-Disposition value format.
if p.dispositionParams == nil {
p.parseContentDisposition()
@@ -380,7 +380,7 @@ func (mr *Reader) isFinalBoundary(line []byte) bool {
}
func (mr *Reader) isBoundaryDelimiterLine(line []byte) (ret bool) {
- // http://tools.ietf.org/html/rfc2046#section-5.1
+ // https://tools.ietf.org/html/rfc2046#section-5.1
// The boundary delimiter line is then defined as a line
// consisting entirely of two hyphen characters ("-",
// decimal value 45) followed by the boundary parameter
diff --git a/src/mime/quotedprintable/writer_test.go b/src/mime/quotedprintable/writer_test.go
index a9b77b3f98..d494c1e3dc 100644
--- a/src/mime/quotedprintable/writer_test.go
+++ b/src/mime/quotedprintable/writer_test.go
@@ -138,7 +138,7 @@ func TestRoundTrip(t *testing.T) {
}
}
-// From http://fr.wikipedia.org/wiki/Quoted-Printable
+// From https://fr.wikipedia.org/wiki/Quoted-Printable
var testMsg = []byte("Quoted-Printable (QP) est un format d'encodage de données codées sur 8 bits, qui utilise exclusivement les caractères alphanumériques imprimables du code ASCII (7 bits).\r\n" +
"\r\n" +
"En effet, les différents codages comprennent de nombreux caractères qui ne sont pas représentables en ASCII (par exemple les caractères accentués), ainsi que des caractères dits « non-imprimables ».\r\n" +