the100rabh
I am making a offline wembail downloader which requires me to write http protocol. I am getting stuck here. I have to login and after that I get a redirection page which is as follow
HTTP/1.1 302 Found
Date: Mon, 29 Nov 2004 09:43:54 GMT
Server: Apache/2.0.47 (Fedora)
X-Powered-By: PHP/4.3.3
Pragma: no-cache
Set-Cookie: SQMSESSID=e52cddcd492226e56e1f39f885c1c71e; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: squirrelmail_language=en_US; expires=Wed, 29-Dec-2004 09:44:01 GMT; path=http://localhost/webmail/
Set-Cookie: key=uZJVIgBz; path=http://localhost/webmail/
Location: webmail.php
Content-Length: 0
Content-Type: text/html; charset=iso-8859-1
After this I cannot get the redirected page. Can you help me. I sent this http command but was of no use. It gave no reponse.
POST /webmail/src/webmail.php HTTP/1.1
Host: localhost/webmail
Accept: text/xml,application/xml,application/xhtml+xml,text/html
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Content-Type: application/x-www-form-urlencoded
Proxy-Connection: keep-alive
Hoping for a solution from You
HTTP/1.1 302 Found
Date: Mon, 29 Nov 2004 09:43:54 GMT
Server: Apache/2.0.47 (Fedora)
X-Powered-By: PHP/4.3.3
Pragma: no-cache
Set-Cookie: SQMSESSID=e52cddcd492226e56e1f39f885c1c71e; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Set-Cookie: squirrelmail_language=en_US; expires=Wed, 29-Dec-2004 09:44:01 GMT; path=http://localhost/webmail/
Set-Cookie: key=uZJVIgBz; path=http://localhost/webmail/
Location: webmail.php
Content-Length: 0
Content-Type: text/html; charset=iso-8859-1
After this I cannot get the redirected page. Can you help me. I sent this http command but was of no use. It gave no reponse.
POST /webmail/src/webmail.php HTTP/1.1
Host: localhost/webmail
Accept: text/xml,application/xml,application/xhtml+xml,text/html
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Content-Type: application/x-www-form-urlencoded
Proxy-Connection: keep-alive
Hoping for a solution from You