h2non / gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

Home Page:https://pkg.go.dev/github.com/h2non/gock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

panic on go 1.17

pierods opened this issue · comments

It seems that in go 1.17, the http client's RoundTripper is also responsible for instantiating a Response, and this causes gock to panic.

commented

Can you provide the error trace or a code snippet to reproduce it?