1d79d70b43
I discovered which transport were used by apitool and made sure he gets the same transports now. While there, I discovered an issue with ooni/oohttp that has been fixed with cba9b1ce5e
.
Part of https://github.com/ooni/probe/issues/1591
10 lines
255 B
Go
10 lines
255 B
Go
package httptransport
|
|
|
|
import (
|
|
"github.com/ooni/probe-cli/v3/internal/netxlite"
|
|
)
|
|
|
|
// UserAgentTransport is a transport that ensures that we always
|
|
// set an OONI specific default User-Agent header.
|
|
type UserAgentTransport = netxlite.UserAgentTransport
|