fix
This commit is contained in:
parent
60608c26cf
commit
10e314ae7e
@ -140,6 +140,9 @@ func TurnstileMaxToken(ccsUrl string, requestUrl string) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RequestWithWAFSession(method string, URL string, wafSession Session, options *cycletls.Options) (cycletls.Response, error) {
|
func RequestWithWAFSession(method string, URL string, wafSession Session, options *cycletls.Options) (cycletls.Response, error) {
|
||||||
|
if options == nil {
|
||||||
|
options = &cycletls.Options{}
|
||||||
|
}
|
||||||
headers := map[string]string{}
|
headers := map[string]string{}
|
||||||
cookies := []string{}
|
cookies := []string{}
|
||||||
for _, cookie := range wafSession.Cookies {
|
for _, cookie := range wafSession.Cookies {
|
||||||
|
Loading…
Reference in New Issue
Block a user