I want to make a spider that crawls a site that relies on cookies. I know how to get the cookies from the site, but say I get response headers something like this
HTTP/1.1 302
Set-Cookie: SOMECOOKIE=cookievalue; expires=Mon, 26 Dec 2005 19:57:10 GMT; path=/
Location: http://someredirect.url
How exactly are the headers I send back suppose to look like? 😕 Like how do I send the cookie back?
thx 🙂