improve ss
This commit is contained in:
17
pkg/connector/http/metadata.go
Normal file
17
pkg/connector/http/metadata.go
Normal file
@ -0,0 +1,17 @@
|
||||
package http
|
||||
|
||||
import "net/url"
|
||||
|
||||
const (
|
||||
userAgent = "userAgent"
|
||||
auth = "auth"
|
||||
)
|
||||
|
||||
const (
|
||||
defaultUserAgent = "Chrome/78.0.3904.106"
|
||||
)
|
||||
|
||||
type metadata struct {
|
||||
UserAgent string
|
||||
User *url.Userinfo
|
||||
}
|
Reference in New Issue
Block a user