<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. open <a href="http://golang.org/ref/spec" rel="nofollow">http://golang.org/ref/spec</a> (or any other longer page) in a browser
2. press "Down" or "PgDn" key

What is the expected output?
Scrolling page contents

What do you see instead?
Stationary page contents

Which compiler are you using (5g, 6g, 8g, gccgo)?
N/A

Which operating system are you using?
Ubuntu 12.04 on x86_64

Which version are you using?  (run 'go version')
Affected:
- local build of tip "go version devel +3e39b4ebe5b1 Mon Oct 15 13:54:31 2012
+0400"
- <a href="http://tip.golang.org" rel="nofollow">http://tip.golang.org</a> (reports "Build version devel +0a3866d6cc6b Mon Sep 24
20:08:05 2012 -0400.")
- <a href="http://golang.org" rel="nofollow">http://golang.org</a> (reports "Build version go1.0.3.")

Not affected:
- local package "go version go1.0.3"

Please provide any additional information below.
Tested with recent Chromium and Firefox.</pre>
<p dir="auto">by <strong><a href="mailto:steven.hartland@multiplay.co.uk">steven.hartland@multiplay.co.uk</a></strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Using a working CookieJar (not the default blackHoleJar)
2. Do a request using the client api to a URL that sets a cookie
3. Do a POST request using the client API for which the above cookie is valid

What is the expected output?
The cookie returned from request in #1 should be set for #2


What do you see instead?
No cookies are set and no call to client.Jar.Cookies(url.URL) for the POST request

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
FreeBSD

Which version are you using?  (run 'go version')
go version go1

Please provide any additional information below.
The attached file is a patch from go1, which fixes this behaviour by delegating the
maintenance of cookies to the now client method send which under pins all actions.

This ensures that every call correctly sends cookies for the request url as well as
saving them on response.

This patch was tested using a work in progress implementation of CookieJar which we'll
also look to submit once complete and tested.</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/3511/0/client.go.patch" rel="nofollow">client.go.patch</a> (2101 bytes)</li>
</ol>