Skip to content

Commit a971ff6

Browse files
committed
Improve comments.
1 parent c9cbbb2 commit a971ff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/domainproxy/integration/domainproxy_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,14 @@ func TestDomainProxyWithInternalProxyAndAuthentication(t *testing.T) {
331331
t.Setenv(InternalProxyUserKey, User)
332332
t.Setenv(InternalProxyPasswordKey, Password)
333333
basicAuth := "Basic " + GetBasicAuth(User, Password)
334-
// Create internal proxy HTTP auth handler
334+
// Create internal proxy HTTP authentication handler
335335
onRequestFunction := func(req *http.Request, ctx *goproxy.ProxyCtx) (*http.Request, *http.Response) {
336336
if req.Header.Get("Proxy-Authorization") != basicAuth {
337337
return nil, goproxy.NewResponse(req, goproxy.ContentTypeText, http.StatusProxyAuthRequired, http.StatusText(http.StatusProxyAuthRequired))
338338
}
339339
return req, nil
340340
}
341-
// Create internal proxy HTTPS auth handler
341+
// Create internal proxy HTTPS authentication handler
342342
onConnectionFunction := func(host string, ctx *goproxy.ProxyCtx) (*goproxy.ConnectAction, string) {
343343
req := ctx.Req
344344
authHeader := req.Header.Get("Proxy-Authorization")

0 commit comments

Comments
 (0)