Skip to content

Commit 8002db5

Browse files
committed
Add http.parseBasicAuth func stub
1 parent 27518fd commit 8002db5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

protocol/http/link.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ func ReadRequest(b *bufio.Reader) (req *http.Request, err error)
1212

1313
//go:linkname URLSetPath net/url.(*URL).setPath
1414
func URLSetPath(u *url.URL, p string) error
15+
16+
//go:linkname ParseBasicAuth net/http.parseBasicAuth
17+
func ParseBasicAuth(auth string) (username, password string, ok bool)

0 commit comments

Comments
 (0)