Documentation ¶
Overview ¶
copied from upstream to bypass internal package https://github.com/gophercloud/gophercloud/v2/blob/v1.7.0/github.com/sapcc/gophercloud-sapcc/v2/internal/acceptance/clients/http.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var REDACT_HEADERS = []string{"x-auth-token", "x-auth-key", "x-service-token",
"x-storage-token", "x-account-meta-temp-url-key", "x-account-meta-temp-url-key-2",
"x-container-meta-temp-url-key", "x-container-meta-temp-url-key-2", "set-cookie",
"x-subject-token"}
List of headers that need to be redacted
Functions ¶
This section is empty.
Types ¶
type LogRoundTripper ¶
type LogRoundTripper struct {
Rt http.RoundTripper
}
LogRoundTripper satisfies the http.RoundTripper interface and is used to customize the default http client RoundTripper to allow logging.
Click to show internal directories.
Click to hide internal directories.