HttpWebResponse.Cookies empty despite Set-Cookie Header (no-redirect)

前端 未结 7 1604
刺人心
刺人心 2020-12-28 14:00

I\'m struggling to figure out what is wrong here. I\'m sending login information, I can see the Set-Cookie in the Header with the correct value, but the Cookies collection

相关标签:
7条回答
  • 2020-12-28 14:20

    Use a CookieContainer as in this answer. What tripped these regex approaches up for me was a comma in expires=Tue, ....

    0 讨论(0)
提交回复
热议问题