Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submiting form do not return every header/cookie #114

Open
MikhailKlemin opened this issue Mar 3, 2019 · 0 comments
Open

Submiting form do not return every header/cookie #114

MikhailKlemin opened this issue Mar 3, 2019 · 0 comments

Comments

@MikhailKlemin
Copy link

Hello!
I am submitting a login form and it's working OK, I logged in, but I do not see all response headers (which I can get via say POSTMAN) especially concerning is JSESSIONID. May be there some setting I missing...

bow := surf.NewBrowser()
/*
Submiting form here
*/

//Reading Headers and Cookies
for k, c := range bow.ResponseHeaders() {
    fmt.Println(k, "\t", c)
}

for k, c := range bow.SiteCookies() {
    fmt.Println(k, "\t", c)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant