We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b943deb commit 301ca94Copy full SHA for 301ca94
option/requestoption.go
@@ -24,6 +24,8 @@ import (
24
type RequestOption = requestconfig.RequestOption
25
26
// WithBaseURL returns a RequestOption that sets the BaseURL for the client.
27
+//
28
+// For security reasons, ensure that the base URL is trusted.
29
func WithBaseURL(base string) RequestOption {
30
u, err := url.Parse(base)
31
if err != nil {
0 commit comments