Je suis en train de créer un script qui logins à une page Web et saisit un rapport - tout fonctionne super, sauf - Je reçois une réponseHTTPS C# POST 302 Moved
HTTP/1.1 302 MovedTemporarily
Date: Mon, 22 Jun 2009 13:22:04 GMT
Server: Server
x-some-id-1: 0J3X3VBBCGNJG9V46G5D
x-some-id-2: BtQ4SsDhbryWgiVNFcVpMbt898GuPIBaWuGwAWjvsyI=
Set-cookie: session-id-time=1246258800l; path=/; domain=.example.com; expires=Mon Jun 29 07:00:00 2009 GMT
Set-cookie: session-id=179-5933843-4704124; path=/; domain=. example.com; expires=Mon Jun 29 07:00:00 2009 GMT
Location: https://example.com
Vary: Accept-Encoding,User-Agent
nnCoection: close
Content-Type: text/html; charset=UTF-8
Content-Length: 0
et je ne sais pas comment arrête ça. J'ai essayé les paramètres
httpwebrequest.allowautoredirect à la fois "True" et "False" et rien n'y fait.
Ça me rend fou comme je peux me connecter au site via https: // mais je reçois ce retour?