]> Cypherpunks repositories - gostls13.git/commit
exp/cookiejar: implementation of SetCookies
authorVolker Dobler <dr.volker.dobler@gmail.com>
Mon, 11 Feb 2013 00:47:31 +0000 (11:47 +1100)
committerNigel Tao <nigeltao@golang.org>
Mon, 11 Feb 2013 00:47:31 +0000 (11:47 +1100)
commitde69401b7513bd94d01061c01d9c5c8c8dfdfae2
tree7b4d4505473875b09953e684e54d539ff2201c31
parenteda9590aae3ef617a765bb5d925b8e25ca205f7f
exp/cookiejar: implementation of SetCookies

This CL provides the rest of the SetCookies code as well as
some test infrastructure which will be used to test also
the Cookies method. This test infrastructure is optimized
for readability and tries to make it easy to review table
driven test cases.

Tests for all the different corner cases of SetCookies
will be provided in a separate CL.

R=nigeltao, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/7306054
src/pkg/exp/cookiejar/jar.go
src/pkg/exp/cookiejar/jar_test.go