> > > > You should do one-operation per request there to have better control
> > > >
> > > anyway.
> > >
> > > >
> > > >
> > >
> > > But what if you want to move a node? Does this mean I should do this
> with
> > > three single requests? One for getting the content, one for deletion and
> one
> > > for adding a new node.
> > >
> > no, there is a move operation, of course :-)
> >
>
>  I know, but when using that operation I expect to get a mix of response
> codes, eg 200 for the deletion of the node from the current location and a
> 201 for the new node created in another location. This information is then
> send as a part of the response body which needs to be parsed by the client.
> If you follow the proposal for AJAX client from Felix and want the
> information without parsing (just considering response codes) then you need
> to do this with 3 requests.

no. the MOVE operation responds with a 201 if moved successfully.

regards, toby

see for example: http://msdn.microsoft.com/en-us/library/aa142926(EXCHG.65).aspx

Reply via email to