Skip to content

Commit d019201

Browse files
committed
fix
1 parent 4c58a63 commit d019201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/libpostal/pure_go.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"encoding/json"
1212
"os"
1313

14-
"github.com/owasp-amass/amass/v5/internal/net/http"
14+
amasshttp "github.com/owasp-amass/amass/v5/internal/net/http"
1515
)
1616

1717
type parsed struct {
@@ -65,7 +65,7 @@ func ParseAddressOptions(ctx context.Context, address string, options ParserOpti
6565
return nil, err
6666
}
6767

68-
resp, err := http.RequestWebPage(ctx, &http.Request{
68+
resp, err := amasshttp.RequestWebPage(ctx, amasshttp.DefaultClient, &amasshttp.Request{
6969
Method: "POST",
7070
URL: "http://" + postalHost + ":" + postalPort + "/parse",
7171
Body: string(reqJSON),

0 commit comments

Comments
 (0)