I am using go http client to make get requests and the client has been initialised with a cookiejar however the response cookie array is empty. Has anyone got any idea what I am doing wrong?
 jar, err := cookiejar.New(nil)
    if err != nil {
        log.Fatal(err)
    }
    s.http_client = &http.Client{Jar: jar}
   resp, _ := s.http_client.Get(s.url)
fmt.Println(resp.Cookies()) returns an empty array although I can see cookies returned in firefox.