Hi Mattias, The usual problem people have when they get this error is inappropriate character spacing.
See the following post: http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/46f2ff2c3457aa63/770b90b948bff204?lnk=gst&q=content-length&rnum=2#770b90b948bff204 In this case, the user had an extra space character after the length number and didn't have the appropriate CR/LF pairs. Let me know if investigating the whitespaces fixes the issue you're having Cheers, -Ryan On Jun 11, 12:36 am, Mattias Dalkvist <[EMAIL PROTECTED]> wrote: > Hi > > When I'm trying to add events, I get the authorization code and the > session code ok, I get alengthrequirederror despite the fact that > that header is sent. > Out take from wireshark: > > POST /calendar/feeds/[EMAIL PROTECTED]/private/full? > gsessionid=<gsessionid> HTTP/1.1 > Host:www.google.com > User-Agent: Drakma/0.7.0 (SBCL 1.0.3; Linux; > 2.6.20-16-386;http://weitz.de/drakma/) > Accept: */* > Cookie: S=calendar=<gsessionid> > Connection: Keep-Alive > Authorization: GoogleLogin auth=<auth code> > > Content-Type: application/atom+xml > Content-Length: 761 > > Any ideas? > > /Mattias --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
