Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(757)

Issue 7287046: code review 7287046: exp/cookiejar: infrastructure for upcoming imple... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by volker.dobler
Modified:
12 years, 1 month ago
Reviewers:
CC:
nigeltao, rsc, bradfitz, golang-dev
Visibility:
Public.

Description

exp/cookiejar: infrastructure for upcoming implementation This CL is the first of a handful of CLs which will provide the implementation of cookiejar. It contains several helper functions and the skeleton of Cookies and SetCookies. Proper host name handling requires the ToASCII transformation from package idna which currently lives in the go.net subrepo. This CL thus contains just a TODO for this issue.

Patch Set 1 #

Patch Set 2 : diff -r e2f9b9a58240 https://code.google.com/p/go/ #

Patch Set 3 : diff -r e2f9b9a58240 https://code.google.com/p/go/ #

Total comments: 18

Patch Set 4 : diff -r 93266555c621 https://code.google.com/p/go/ #

Patch Set 5 : diff -r 8d71734a0cb0 https://code.google.com/p/go/ #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -6 lines) Patch
M src/pkg/exp/cookiejar/jar.go View 1 2 3 4 2 chunks +172 lines, -6 lines 8 comments Download
A src/pkg/exp/cookiejar/jar_test.go View 1 2 3 4 1 chunk +109 lines, -0 lines 2 comments Download

Messages

Total messages: 7
volker.dobler
Hello nigeltao@golang.org, rsc@golang.org, bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-02-04 15:40:39 UTC) #1
nigeltao
https://codereview.appspot.com/7287046/diff/4001/src/pkg/exp/cookiejar/jar.go File src/pkg/exp/cookiejar/jar.go (right): https://codereview.appspot.com/7287046/diff/4001/src/pkg/exp/cookiejar/jar.go#newcode81 src/pkg/exp/cookiejar/jar.go:81: Name string I would still rather that this embeds ...
12 years, 1 month ago (2013-02-05 10:35:28 UTC) #2
volker.dobler
PTAL https://codereview.appspot.com/7287046/diff/4001/src/pkg/exp/cookiejar/jar.go File src/pkg/exp/cookiejar/jar.go (right): https://codereview.appspot.com/7287046/diff/4001/src/pkg/exp/cookiejar/jar.go#newcode81 src/pkg/exp/cookiejar/jar.go:81: Name string On 2013/02/05 10:35:28, nigeltao wrote: > ...
12 years, 1 month ago (2013-02-05 13:51:13 UTC) #3
nigeltao
LGTM. All my comments are minor. I'll fix them when I submit. https://codereview.appspot.com/7287046/diff/4001/src/pkg/exp/cookiejar/jar.go File src/pkg/exp/cookiejar/jar.go ...
12 years, 1 month ago (2013-02-06 11:31:44 UTC) #4
nigeltao
https://codereview.appspot.com/7287046/diff/9002/src/pkg/exp/cookiejar/jar.go File src/pkg/exp/cookiejar/jar.go (right): https://codereview.appspot.com/7287046/diff/9002/src/pkg/exp/cookiejar/jar.go#newcode107 src/pkg/exp/cookiejar/jar.go:107: key := jarKey(host, j.psList) One more thing: SetCookies checks ...
12 years, 1 month ago (2013-02-06 11:36:54 UTC) #5
nigeltao
*** Submitted as https://code.google.com/p/go/source/detail?r=8f9b0fbf4c15 *** exp/cookiejar: infrastructure for upcoming implementation This CL is the first ...
12 years, 1 month ago (2013-02-06 11:37:48 UTC) #6
volker.dobler
12 years, 1 month ago (2013-02-06 11:50:03 UTC) #7
Message was sent while issue was closed.
https://codereview.appspot.com/7287046/diff/9002/src/pkg/exp/cookiejar/jar.go
File src/pkg/exp/cookiejar/jar.go (right):

https://codereview.appspot.com/7287046/diff/9002/src/pkg/exp/cookiejar/jar.go...
src/pkg/exp/cookiejar/jar.go:187: host = host[:len(host)-1]
On 2013/02/06 11:31:44, nigeltao wrote:
> Is "www.example.com..." worth considering?

I don't think so: "www.example.com..." is not a valid
host name while "www.example.com." is.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b