Hi Phillipp, I'm not sure it's the source of your problem, but providing the Content-Type header on a delete is odd because there really is no content. It should be ignored because the Content-Length header is zero, but maybe there is a subtle bug here. The Content-Type header value for PUT must be "application/atom+xml" to reflect the Atom entry payload of the request.
Also, are you able to successfully GET using this entry URL and the auth key? Is there any http error response body sent back along with the 400 error response below? Re: the "close" header, believe it or not this is by design. This is actually an expected behavior related to HTTP Keep-Alive handling. Hope this helps! -- Kyle On 9/19/06, Philipp Kewisch <[EMAIL PROTECTED]> wrote: > > I'm having problems using the PUT and DELETE methods. This is the > output of lwp-request. I also get this when using DELETE directly. Is > my request correct? > =========================================== > > > POST > http://www.google.com/calendar/feeds/[EMAIL > PROTECTED]/private/full/mj71bqa5r5fd80oajleuakl7jk > Authorization: GoogleLogin auth=<myauthkey> > User-Agent: lwp-request/2.06 > Content-Length: 0 > Content-Type: application/x-www-form-urlencoded > X-HTTP-Method-Override: DELETE > > POST > http://www.google.com/calendar/feeds/[EMAIL > PROTECTED]/private/full/mj71bqa5r5fd80oajleuakl7jk > --> 400 Bad Request > Cache-Control: private > Date: Tue, 19 Sep 2006 22:23:28 GMT > Server: GFE/1.3 > Content-Type: text/plain;charset=iso-8859-1 > Client-Date: Tue, 19 Sep 2006 21:17:38 GMT > Client-Peer: 72.14.221.104:80 > Client-Response-Num: 1 > Client-Transfer-Encoding: chunked > Cneonction: Close > > ===================================================== > > > > Now to the bug report: Note the spelling of the last line: Cneonction. > I believe this should be Connection ;) > > > Philipp > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" 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-calendar-help-dataapi -~----------~----~----~----~------~----~------~--~---
