net/http: make responseAndError satisfy the net.Error interface
Allow clients to check for timeouts without relying on error substring matching. Fixes #6185. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/55470048
Showing
Please register or sign in to comment