fix import orders

This commit is contained in:
Damian Bednarczyk
2023-11-29 15:02:05 -06:00
parent 3fdbf3524d
commit dc558b38fa
9 changed files with 19 additions and 14 deletions

View File

@@ -2,9 +2,10 @@ package responsemodifers
import (
"fmt"
"ladder/proxychain"
"net/url"
"strings"
"ladder/proxychain"
)
var forwardBlacklist map[string]bool
@@ -23,7 +24,6 @@ func init() {
// ForwardResponseHeaders forwards the response headers from the upstream server to the client
func ForwardResponseHeaders() proxychain.ResponseModification {
return func(chain *proxychain.ProxyChain) error {
//fmt.Println(chain.Response.Header)
for uname, headers := range chain.Response.Header {
name := strings.ToLower(uname)