mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-19 03:57:17 +02:00
directory: add logging http client to help with debugging outbound http requests (#2385)
This commit is contained in:
parent
aa0e6872de
commit
ac8ae3ef5b
13 changed files with 110 additions and 20 deletions
|
@ -21,5 +21,5 @@ func TestDefaultClient(t *testing.T) {
|
|||
defer ts.Close()
|
||||
req, _ := http.NewRequest(http.MethodGet, ts.URL, nil)
|
||||
req = req.WithContext(requestid.WithValue(context.Background(), "foo"))
|
||||
_, _ = DefaultClient.Do(req)
|
||||
_, _ = defaultClient.Do(req)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue