Re: Sample code for setting header and body of request to be sent to remote server.

2004-02-26 Thread hareesh babu
import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.cookie.CookiePolicy; import java.io.IOException; public class Test4 { public static void main(String[]

RE: Cookie Problem

2004-02-16 Thread hareesh babu
ity enclosing methods MAY NOT > automatically handle redirects. Make sure you do not > attempt to set setFollowRedirects to true on POST or > PUT methods. > > Oleg > > -Original Message- > From: hareesh babu [mailto:[EMAIL PROTECTED] > Sent: Monday, February 16, 2004 17:1

RE: Cookie Problem

2004-02-16 Thread hareesh babu
ues. > For more details on the problem refer to the bug > report below: > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11240 > > Oleg > > -Original Message- > From: hareesh babu [mailto:[EMAIL PROTECTED] > Sent: Monday, February 16, 2004 13:37 > To:

Re: Cookie Problem

2004-02-16 Thread hareesh babu
quot;Request Path: " + getMethod.getPath()); System.out.println("Request Query: " + getMethod.getQueryString()); Header[] requestHeaders = getMethod.getRequestHeaders(); for (int i=0; i wrote: > Hello Hareesh, > > the cookie shouldn't include c

Cookie Problem

2004-02-16 Thread hareesh babu
Hi, I am working on website using apache commons library of http client. I was able to login into the website using my code and not able navigate into website. I was facing one problem with apache http client at cookie assumption. website is sending cookie like this way, Se