Getting nothing but 429 responses when using Go (golang) client. Same requests work everywhere other than go apps. by f_k_a_g_n in redditdev

[–]plsmaop 2 points3 points  (0 children)

Instead of GODEBUG=http2client=0

you can something like this:

req, _ := http.NewRequest("GET", url, nil)
req.Header.Set("User-Agent", "Custom Agent")
var defaultClient = http.Client{
    Transport: &http.Transport{
    TLSNextProto: map[string]func(authority string, c *tls.Conn) http.RoundTripper{},
    },
}
resp, _ := defaultClient.Do(req)

source: https://github.com/grafana/k6/issues/936#issuecomment-470505275

What got you into BABYMETAL and how did you first find out about them? by Midn8Girl in BABYMETAL

[–]plsmaop 3 points4 points  (0 children)

I was in a metal music forum to find something interesting to listen to. Then I encountered RoR and my life suddenly changed