SOLVED.
DELETE actions seems to check content-length header on server side.
'Content-Length: 0' added to the request and it works.
I tried this after taking a look at the java sources of client API.
case DELETE:
// ....
setHeader("Content-Length", "0"); // no data to POST
It was the only difference with my http request.
I suggest to add a FAQ entry or a note on GData documentation about this
requirement.
Cheers,
--
Guillaume.
--
You received this message because you are subscribed to the Google Groups
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.