Commit c4f5801f authored by wangmingming's avatar wangmingming

默认header

parent 7df8e9cb
......@@ -89,7 +89,7 @@ func (s *Session) Do(method string, request *url.Request) (*models.Response, err
client := tls.NewClient(request.TlsProfile)
request.Method = method
preq, err := s.PreRequest(request)
if err == nil {
if err != nil {
return nil, err
}
do, err := client.Do(preq)
......
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