A http2 crawler with custom transport chokes on URIs with double slashes. Is it a bug? Testcase:
func TestDoubleSlashInUrl(t *testing.T) { url := "https://http2.akamai.com//demo" tr := &http.Transport{} if e := http2.ConfigureTransport(tr); e != nil { t.Fatal("Could not configure h2 transport") } cl := &http.Client{Transport: tr} _, err := cl.Get(url) if err != nil { t.Fatal("err: ", err) } } I need to use a custom transport for custom timeouts, and according to the docs I need to run http2.ConfigureTransport to enable HTTP2. The DefaultClient doesn't exhibit this behavior. go version go1.10.1 linux/amd64 Thanks! Willem -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.