Setting Connection header in m7

2010-01-30 Thread Garry Turkington
explicitly set this but can't find out where. Pointers? Thanks, Garry -- Garry Turkington garry.turking...@gmail.com -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2443284

Re: Comprehensive example of authentication in RESTLet 2.0?

2010-01-28 Thread Garry Turkington
together... > as most of the examples seem to be overly simplistic. If you could point me > in the right direction on how to use the 2.0 authentication features I'd much > appreciate it. > > Thanks > > ------ >

Duplicate custom headers in snapshot

2010-01-26 Thread Garry Turkington
n the 2.0M6 release but in the snapshot all the headers are duplicated. If I set 3 headers then the response that is sent has them in order twice. Is the mechanism to set custom headers different in the snapshot or is this a known issue? Regards, Garry -- Garry Turking

Re: Lifecycle of message attributes

2010-01-23 Thread Garry Turkington
2010, Garry Turkington wrote: > Hi, > > In one route in my app I've got an Authenticator, two chained > Authorizers and then a ServerResource resource instance. > > As part of the authentication and authorization processes -- not to > mention the actual servicing of the r

Lifecycle of message attributes

2010-01-23 Thread Garry Turkington
Hi, In one route in my app I've got an Authenticator, two chained Authorizers and then a ServerResource resource instance. As part of the authentication and authorization processes -- not to mention the actual servicing of the request -- I need pull some objects from a backing store, currently a

Re: Advice re parsing custom Authorization values

2010-01-17 Thread Garry Turkington
se } //class Then in the main class of my app, where I create/start Components and such I added: org.restlet.engine.Engine.getInstance().getRegisteredAuthenticators.add( new S3AuthenticatorHelper()) ; Hope that helps someone else who is as confused as I was! Cheers, Garry On Mon, 11 Jan 201

Re: Restlet client and setting the request header date

2010-01-14 Thread Garry Turkington
tually sent? >> >> Thanks, >> Garry >> >> -- >> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436971 >> >> > > -- > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2437281 -- Garry Turkington garry.turking...@gmail.com -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2437392

Re: Restlet client and setting the request header date

2010-01-14 Thread Garry Turkington
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2436971 >> >> > > -- > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2437281 -- Garry Turkington garry.turking...@gmail.com -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2437399

RE: Restlet client and setting the request header date

2010-01-13 Thread Garry Turkington
Hi, I too hit this problem as I wanted to set a specific value for the Date header. In absence of this ability -- I've seen issue 1001 -- can I get the value of the header client side before the request is sent in any way? I want to set another header based on the date. I thought that setting

Advice re parsing custom Authorization values

2010-01-12 Thread Garry Turkington
Hi, I've got an app that gets a custom value in the HTTP Authorization request header. So far I've wrote an Authenticator that checks the validity of the provided values by parsing the Authorization header contents. There are then 3 different types of authorization rules depending on the URI pat

Support for Expect and 100-continue re-visited

2010-01-09 Thread Garry Turkington
Hi, I'd posted about support for the Expect header and the 100 CONTINUE response code. Jerome responded in the other thread -- sorry for the late response -- and I'm following up here now I've subscribed to the list. Here's what was suggested for the ServerResource subclass: Response pr