This commit is contained in:
caffix
2026-03-01 11:26:11 -05:00
parent 4c58a636c4
commit d019201772
+2 -2
View File
@@ -11,7 +11,7 @@ import (
"encoding/json"
"os"
"github.com/owasp-amass/amass/v5/internal/net/http"
amasshttp "github.com/owasp-amass/amass/v5/internal/net/http"
)
type parsed struct {
@@ -65,7 +65,7 @@ func ParseAddressOptions(ctx context.Context, address string, options ParserOpti
return nil, err
}
resp, err := http.RequestWebPage(ctx, &http.Request{
resp, err := amasshttp.RequestWebPage(ctx, amasshttp.DefaultClient, &amasshttp.Request{
Method: "POST",
URL: "http://" + postalHost + ":" + postalPort + "/parse",
Body: string(reqJSON),