diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2014-01-14 12:53:21 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2014-01-14 12:53:21 -0800 |
| commit | 1e2b13355f888be3f9d31624ad178c4e4b0bb3f6 (patch) | |
| tree | a1fd03bb98af2871680ac1d3f43f405647449fba /src/pkg | |
| parent | 6430a6d90e0be5703c5b5263a55ca831bd2ab8a0 (diff) | |
| download | go-1e2b13355f888be3f9d31624ad178c4e4b0bb3f6.tar.xz | |
undo CL 47560044 / 40a37153a550
Still work to do. See http://golang.org/issue/7125
««« original CL description
net/http/cookiejar: document format of domain in PublicSuffix
Document what values a PublicSuffixList must accept as
a domain in a call to PublicSuffix.
R=bradfitz, nigeltao
CC=golang-codereviews
https://golang.org/cl/47560044
»»»
R=golang-codereviews, minux.ma
CC=golang-codereviews
https://golang.org/cl/51770044
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/net/http/cookiejar/jar.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/net/http/cookiejar/jar.go b/src/pkg/net/http/cookiejar/jar.go index 82f18a1784..389ab58e41 100644 --- a/src/pkg/net/http/cookiejar/jar.go +++ b/src/pkg/net/http/cookiejar/jar.go @@ -34,9 +34,9 @@ import ( type PublicSuffixList interface { // PublicSuffix returns the public suffix of domain. // - // Domain is a lowercase punycoded domain name (not an IP address) - // without leading or trailing dots. The returned value is in the - // same form. + // TODO: specify which of the caller and callee is responsible for IP + // addresses, for leading and trailing dots, for case sensitivity, and + // for IDN/Punycode. PublicSuffix(domain string) string // String returns a description of the source of this public suffix |
