~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/net/http/client.go

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý, Ondřej Surý, Michael Stapelberg
  • Date: 2012-06-28 12:14:15 UTC
  • mfrom: (14.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20120628121415-rujz1ij5jcwhrhpe
Tags: 2:1.0.2-1
[ Ondřej Surý ]
* Imported Upstream version 1.0.2
* Update Vcs fields to reflect new git repository location
* Kill get-orig-source, since 1.0.0, the tarballs can be downloaded
  from webpage

[ Michael Stapelberg ]
* golang-mode: use debian-pkg-add-load-path-item (Closes: #664802)
* Add manpages (Closes: #632964)
* Use updated pt.po from Pedro Ribeiro (Closes: #674958)

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
                return nil, err
279
279
        }
280
280
        req.Header.Set("Content-Type", bodyType)
 
281
        if c.Jar != nil {
 
282
                for _, cookie := range c.Jar.Cookies(req.URL) {
 
283
                        req.AddCookie(cookie)
 
284
                }
 
285
        }
281
286
        r, err = send(req, c.Transport)
282
287
        if err == nil && c.Jar != nil {
283
288
                c.Jar.SetCookies(req.URL, r.Cookies())