Descriptionnet/http/client.go: fix cookie handling on (*Client) Do()
Fix the problem with no cookie handling when sending
other than GET or HEAD request through
(*Client) Do(*Request) (*Resposne, error).
https://code.google.com/p/go/issues/detail?id=3985
Adds a function (*Client) send(*Request) (*Reponse, error):
- sets cookies from CookieJar to request,
- sends request
- parses a reply cookies and updates CookieJar
Patch Set 1 #Patch Set 2 : diff -r 189cd011c4f3 https://code.google.com/p/go #
Total comments: 8
Patch Set 3 : diff -r bb4ee132b967 https://code.google.com/p/go #Patch Set 4 : diff -r bb4ee132b967 https://code.google.com/p/go #
Total comments: 4
Patch Set 5 : diff -r bb4ee132b967 https://code.google.com/p/go #Patch Set 6 : diff -r bb4ee132b967 https://code.google.com/p/go #Patch Set 7 : diff -r bb4ee132b967 https://code.google.com/p/go #
Total comments: 2
MessagesTotal messages: 15
|