Skip to content

How to Download HTML Content Using Session Cookie #2013

Answered by ghandmann
samirparikh asked this question in Q&A
Discussion options

You must be logged in to vote

According to the Mojo::UserAgent::CookieJar example you should add a Mojo::Cookie::Response object and not a Mojo::Cookie::Request object.

M:C:Request does not have a max_age attribute, which would explain the error you are getting.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@samirparikh
Comment options

@ghandmann
Comment options

@samirparikh
Comment options

Answer selected by samirparikh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants