Skip to content

Commit

Permalink
Remove unused NetworkManager.ExtraHTTPHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Nov 6, 2024
1 parent 3d8c372 commit b6806de
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions common/network_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"github.com/chromedp/cdproto/emulation"
"github.com/chromedp/cdproto/fetch"
"github.com/chromedp/cdproto/network"
"github.com/grafana/sobek"
)

// Credentials holds HTTP authentication credentials.
Expand Down Expand Up @@ -731,12 +730,6 @@ func (m *NetworkManager) Authenticate(credentials Credentials) error {
return nil
}

// ExtraHTTPHeaders returns the currently set extra HTTP request headers.
func (m *NetworkManager) ExtraHTTPHeaders() sobek.Value {
rt := m.vu.Runtime()
return rt.ToValue(m.extraHTTPHeaders)
}

// SetExtraHTTPHeaders sets extra HTTP request headers to be sent with every request.
func (m *NetworkManager) SetExtraHTTPHeaders(headers network.Headers) error {
err := network.
Expand Down

0 comments on commit b6806de

Please sign in to comment.