net/http/httptest: add NewRequest helper for ease of testing handlers
Fixes #14199 Change-Id: Ic9284023b663de3db1ca7b7b1e96eeab82ec0944 Reviewed-on: https://go-review.googlesource.com/21016 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by:Andrew Gerrand <adg@golang.org>
Showing
Please
register
or
sign in
to comment