[Python-ideas] Cookies insanity

Ram Rachum ram at rachum.com
Wed Aug 3 16:09:26 CEST 2011


Hello folks,

About a week ago I was trying to do a tiny web project in Python.

I wanted to send a request to some website, get a cookie, and then send that
cookie on the next request.

I could not believe how convoluted that task has turned out to be.

Check out my StackOverflow question:
http://stackoverflow.com/questions/6878418/putting-a-cookie-in-a-cookiejar

Unless I'm missing something, this looks insane to me. Why is so much code
needed to do such a simple task? Why can't this be done with 3-4 lines of
Python?


Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110803/57f3455d/attachment.html>


More information about the Python-ideas mailing list