]> Cypherpunks repositories - gostls13.git/commit
net/http: fix build errors on js/wasm target
authorJohan Brandhorst <johan.brandhorst@gmail.com>
Mon, 4 Jun 2018 15:03:05 +0000 (15:03 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 4 Jun 2018 15:05:52 +0000 (15:05 +0000)
commitfb5279cc45703d24a37279e6c0d9e0e7fd7228c5
tree75c38f377cc3577af455ad05c35df4d41ae5c825
parent446d76e62df3bcd84443a4d7319c963a214f7670
net/http: fix build errors on js/wasm target

The in-progress WASM port does not yet have sufficient automatic
testing performed against it, so these errors slipped through when
adding the new Fetch API backed http.Roundtripper.

Updates #25506

Change-Id: I84c5832452e3e6067a02d926f67d01aaca66b837
GitHub-Last-Rev: 064062b5fd256e7fce961a13a8ac00a135f60221
GitHub-Pull-Request: golang/go#25714
Reviewed-on: https://go-review.googlesource.com/116076
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/roundtrip_js.go