(t *testing.T)
| 92 | } |
| 93 | |
| 94 | func NewClientWithCookies(t *testing.T) *http.Client { |
| 95 | cj, err := cookiejar.New(&cookiejar.Options{}) |
| 96 | require.NoError(t, err) |
| 97 | return &http.Client{Jar: cj} |
| 98 | } |
| 99 | |
| 100 | func NewNoRedirectClientWithCookies(t *testing.T) *http.Client { |
| 101 | cj, err := cookiejar.New(&cookiejar.Options{}) |
no outgoing calls