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

Issue 5544082: code review 5544082: net/http/cookiejar: A cookie jar implementation. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by volker.dobler
Modified:
10 years, 7 months ago
Reviewers:
CC:
golang-dev
Visibility:
Public.

Description

net/http/cookiejar: A cookie jar implementation. This implementation is a very simple one: Cookies are stored in a unsorted, flat slice. All operations (insert, update, delete, retrieve) are painfully slow at the moment but the test cases should cover all aspects of cookie handling. Still missing are: - host/domain name canonicalization (this will need additional tables) - an exported method to persist the persistent cookies

Patch Set 1 #

Patch Set 2 : diff -r f690897afe60 https://go.googlecode.com/hg/ #

Total comments: 16

Patch Set 3 : diff -r f131dc18714a https://go.googlecode.com/hg/ #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+6596 lines, -0 lines) Patch
A src/pkg/net/http/cookiejar/Makefile View 1 1 chunk +18 lines, -0 lines 0 comments Download
A src/pkg/net/http/cookiejar/cookie.go View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
A src/pkg/net/http/cookiejar/jar.go View 1 2 1 chunk +438 lines, -0 lines 4 comments Download
A src/pkg/net/http/cookiejar/jar_test.go View 1 2 1 chunk +1115 lines, -0 lines 0 comments Download
A src/pkg/net/http/cookiejar/publicsuffixes.go View 1 1 chunk +215 lines, -0 lines 0 comments Download
A src/pkg/net/http/cookiejar/publicsuffixes_test.go View 1 1 chunk +219 lines, -0 lines 0 comments Download
A src/pkg/net/http/cookiejar/table.go View 1 1 chunk +4402 lines, -0 lines 0 comments Download
A src/pkg/net/http/cookiejar/url.go View 1 2 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 14
volker.dobler
This got rather lengthy even in its unfinished state. Any comments welcome. The non-http stuff ...
12 years, 3 months ago (2012-01-17 00:49:14 UTC) #1
jmhodges
Could you uncomment the tests in TestRedirectCookiesOnRequest in net/http/client_test.go and make sure they pass? They ...
12 years, 3 months ago (2012-01-17 04:10:29 UTC) #2
volker.dobler
I think the testcase is broken: If the second c..Do uses the same client as ...
12 years, 3 months ago (2012-01-17 10:18:18 UTC) #3
jmhodges
Volker and I accidentally went offline. We agreed that this test was wrong and that ...
12 years, 3 months ago (2012-01-18 05:53:21 UTC) #4
rsc
R=bradfitz?
12 years, 3 months ago (2012-01-19 21:10:38 UTC) #5
jmhodges
I haven't had the chance to review more beyond the first few files. Sending this ...
12 years, 3 months ago (2012-01-20 00:13:03 UTC) #6
bradfitz
I'll review this also. On Jan 19, 2012 1:10 PM, <rsc@golang.org> wrote: > R=bradfitz? > ...
12 years, 3 months ago (2012-01-20 00:16:56 UTC) #7
volker.dobler
Hello jeff@somethingsimilar.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 3 months ago (2012-01-20 17:17:17 UTC) #8
volker.dobler
The main questions which IMHO have to be answered before diging into details of the ...
12 years, 3 months ago (2012-01-20 17:30:30 UTC) #9
bradfitz
http://codereview.appspot.com/5544082/diff/7002/src/pkg/net/http/cookiejar/jar.go File src/pkg/net/http/cookiejar/jar.go (right): http://codereview.appspot.com/5544082/diff/7002/src/pkg/net/http/cookiejar/jar.go#newcode24 src/pkg/net/http/cookiejar/jar.go:24: var RejectPublicSuffixes = true I don't want this controlled ...
12 years, 2 months ago (2012-01-25 16:47:55 UTC) #10
rsc
Hi. I think it's important to have a package that provides a reasonable in-memory-only implementation ...
12 years, 2 months ago (2012-01-25 21:12:36 UTC) #11
volker.dobler
Hi, Currently this is the only suitable way. As an external library I can use ...
12 years, 2 months ago (2012-01-25 21:29:16 UTC) #12
bradfitz
excellent! On Wed, Jan 25, 2012 at 1:29 PM, <dr.volker.dobler@gmail.com> wrote: > Hi, > > ...
12 years, 2 months ago (2012-01-25 22:18:58 UTC) #13
rsc
11 years, 10 months ago (2012-06-03 04:54:13 UTC) #14

          
Sign in to reply to this message.

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