It might be easier to start by writing the client side of this using the
"classic" Restlet APIs and not the annotation-based API, setting the Expect
and Content-Length headers manually and checking the response for a 100
status.

--tim

On Mon, Dec 10, 2012 at 9:35 AM, Ishaaq Chandy <[email protected]> wrote:

> Hi all,
> I have a client app that is communicates using a ClientResource to a
> ServerResource. The latter is managed using the annotations mechanism -
> much
> like what is documented here:
>
> http://wiki.restlet.org/docs_2.0/13-restlet/27-restlet/328-restlet/285-restlet.html
>
> The client sends large payloads to the server via a PUT call and sometimes
> the server needs to push back. I think the ideal way to do this would be to
> use an HTTP Expect/Continue handshake so as to avoid the client sending
> across large amounts of data if the server isn't ready for it. However, I
> can't find any documentation or examples of how I can achieve this. Does
> anyone here have any pointers/suggestions?
>
> I am using restlet 2.0.x
>
> Thanks,
> Ishaaq
>
>
>
> --
> View this message in context:
> http://restlet-discuss.1400322.n2.nabble.com/expect-continue-handshake-tp7578505.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3034546
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3034858

Reply via email to