Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by zh2408

2 months ago

This code creates an HTTP session, sets a cookie within that session, makes another request that automatically includes the cookie, and then prints the response showing the cookies that were sent.

I may miss the error, but could you elaborate where it is?

4 comments

zh2408

Reply

Armazon  2 months ago

The url variable is never defined

  • foobarbecue  2 months ago

    Yes it is, just before the pasted section.

    • Armazon  2 months ago

      oh you are right, nevermind then

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities