Commit 45f37fbe authored by wang's avatar wang

111

parent 9aaf43d2
......@@ -40,7 +40,7 @@ func (c *Client) Start() error {
delete(c.Item.Headers, "Cookie")
}
if cookie == "" {
if c.Item.Debug == false && cookie == "" {
return errors.New("未设置cookie")
}
var cookies []*http.Cookie
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment