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

Issue 6013049: code review 6013049: net/http: add cookies from jar to POST request. (Closed)

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

Description

net/http: add cookies from jar to POST request. The main content of this CL is a test case checking the reported issue 3511 and a tiny fix for it. A subsequent CL will refactor the fix as proposed issue 3511. Fixes issue 3511.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
M src/pkg/net/http/client.go View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/net/http/client_test.go View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 8
volker.dobler
Hello golang-dev@googlegroups.com (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 (2012-04-13 00:05:02 UTC) #1
smh
While less lines of change but doesn't eliminate the multiple paths with the same code ...
12 years, 1 month ago (2012-04-13 00:44:38 UTC) #2
volker.dobler
On 2012/04/13 00:44:38, steven.hartland wrote: > While less lines of change but doesn't eliminate the ...
12 years, 1 month ago (2012-04-13 06:44:27 UTC) #3
volker.dobler
Hello golang-dev@googlegroups.com, steven.hartland@multiplay.co.uk (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 1 month ago (2012-04-13 13:31:48 UTC) #4
smh
On 2012/04/13 06:44:27, volker.dobler wrote: > I agree that collecting all this stuff in send() ...
12 years, 1 month ago (2012-04-13 13:57:15 UTC) #5
bradfitz
LGTM
11 years, 12 months ago (2012-05-21 17:57:08 UTC) #6
bradfitz
*** Submitted as http://code.google.com/p/go/source/detail?r=05fc2ee43b46 *** net/http: add cookies from jar to POST request. The main ...
11 years, 12 months ago (2012-05-21 17:57:23 UTC) #7
volker.dobler
11 years, 12 months ago (2012-05-21 21:12:42 UTC) #8
Hi Steven,

Brad committed the CL which includes a test for the bug you found
and the stopgap fix.  I'd like to suggest that you submit your
patch now as a CL (of course after 'hg sync'-ing and running
the tests :-)

Regards,

Volker

On Fri, Apr 13, 2012 at 3:57 PM,  <steven.hartland@multiplay.co.uk> wrote:
> On 2012/04/13 06:44:27, volker.dobler wrote:
>>
>> I agree that collecting all this stuff in send() is
>> a superior solution.  How about proceeding like this
>> to reach this goal?
>>  - Add a testcase to this CL first
>>  - Refactor common cookie code to send (your patch)
>>  - Remove blackHoleJar which is then useless
>
>
> That sounds good to me :)
>
> http://codereview.appspot.com/6013049/



-- 
Dr. Volker Dobler
Sign in to reply to this message.

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