mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-04 03:57:45 +00:00
bb43b40f19
This change introduces a CheckRedirect field to the http.Client struct in TinyGo, mirroring the behavior of Go's standard library http.Client. The purpose of this addition is to resolve build errors in projects that rely on packages (such as golang.org/x/oauth2) expecting the Client to have a CheckRedirect field. The field provides no functional change within TinyGo’s HTTP client at this time — it is only included for API compatibility and compilation success. There is no effect on runtime behavior unless explicitly used by downstream code.