**OderWat** > I guess that grab is recording cookies and send them back like a web browser > does it
Yes, that's exactly what he does. **_tulayang**, Indeed, what we should do: take the cookies out of the Set-Cookie header, and then send them to the server in the Cookie header. My habit to do high-level abstractions (for example, in **powershell** session is stored in a special variable and directly about the cookies do not have to think) was the consequence of the fact that I am a bit forgotten how to do it at a lower level :) However, http modules **Nim** would not hurt the ability to automatically memorize of cookies, similar modules in **python**.
