Re: Fetching non-standard headers on client side

2008-01-05 Thread Md . Jahid Shohel
Hi Rob, Thanks, but I have tried that way too. But still I don't get my non-standard header value. I am wondering, whether that feature of getting non-standard header from Response is there in version 1.0.4. Do you have any idea? Or you have any slice of code where you have used that, fetching

Re: Fetching non-standard headers on client side

2008-01-05 Thread Rob Heittman
Is there a particular reason you are using 1.0.4, since 1.0.7 is current (and I can't think of too many reasons to resist upgrading)? This works for me right now. I'm using trunk, but I know of nothing in the 1.0.7 tag that would make it work any differently. import org.restlet.Client; import

Fetching non-standard headers on client side

2008-01-04 Thread Md . Jahid Shohel
Hi, I am trying to develop a fat client, I mean there will be a client implementation to access server services instead of browser. I am facing a problem on fetching non standard headers on client side. I have set the header on client side, and it was set correctly. I can see that header if I

Fetching non-standard headers on client side

2008-01-04 Thread Md . Jahid Shohel
Hi, I am trying to develop a fat client, I mean there will be a client implementation to access server services instead of browser. I am facing a problem on fetching non standard headers on client side. I have set the header on client side, and it was set correctly. I can see that header if I

Re: Fetching non-standard headers on client side

2008-01-04 Thread Rob Heittman
I suspect you want this instead: Form headers = (Form) response.getAttributes().get( org.restlet.http.headers); per http://www.restlet.org/documentation/1.1/api/org/restlet/data/Message.html#getAttributes() and http://www.restlet.org/documentation/1.1/faq#01 The headers are not mapped