Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 14d6082

Browse files
committed
Remove unused NetworkManager.ExtraHTTPHeaders
1 parent 287d7a5 commit 14d6082

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

common/network_manager.go

-7
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"github.com/chromedp/cdproto/emulation"
2727
"github.com/chromedp/cdproto/fetch"
2828
"github.com/chromedp/cdproto/network"
29-
"github.com/grafana/sobek"
3029
)
3130

3231
// Credentials holds HTTP authentication credentials.
@@ -731,12 +730,6 @@ func (m *NetworkManager) Authenticate(credentials Credentials) error {
731730
return nil
732731
}
733732

734-
// ExtraHTTPHeaders returns the currently set extra HTTP request headers.
735-
func (m *NetworkManager) ExtraHTTPHeaders() sobek.Value {
736-
rt := m.vu.Runtime()
737-
return rt.ToValue(m.extraHTTPHeaders)
738-
}
739-
740733
// SetExtraHTTPHeaders sets extra HTTP request headers to be sent with every request.
741734
func (m *NetworkManager) SetExtraHTTPHeaders(headers network.Headers) error {
742735
err := network.

0 commit comments

Comments
 (0)