calling the "Host"-header in WebClient

  • Thread starter Thread starter lasabo
  • Start date Start date
L

lasabo

Hi,

I'm trying to write a software that log in to a password-
protected page, but when I try to open the page and send
inn the password, the server refere to the index.htm
before I get to post the password. Right afte the
"Host: <ip of the server>" line in the header are sendt,
the servere sends
"HTTP/1.1 302 Document Follows Location: /inxdex.htm".

and so I don't get to post the password, anybody has any
idea?
 
Back
Top