[Python-ideas] Cookies insanity

Steven D'Aprano steve at pearwood.info
Wed Aug 3 23:28:43 CEST 2011

Ram Rachum wrote:
> 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?

Do you have an actual idea to propose, or are you just looking for sympathy?


More information about the Python-ideas mailing list