[x/blog] content/context: use req.WithContext

(*Transport).CancelRequest is now deprecated. Use the new
(*Request).WithContext method which inherits the parent context.

Fixes golang/go#29075

Change-Id: I4a275a396c6ed64eef73b688a049e7bc372f07d4
Reviewed-on: https://go-review.googlesource.com/c/153957
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
X-Blog-Commit: 7ed0a50146b4d79f8b1027b56aa37a966162f30e
1 file changed
tree: dbbec4bf30084c471a15cf5972dbe4409652a741
  1. blog/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.