6 messages in com.googlegroups.google-base-data-apiRe: Unable to insert entry, error is ...
FromSent OnAttachments
Tim Showers06 Nov 2006 11:47 
j....@google.com06 Nov 2006 12:00 
Tim Showers06 Nov 2006 12:41 
Alexandru Balut06 Nov 2006 16:23 
Tim Showers07 Nov 2006 07:38 
Alexandru Balut07 Nov 2006 15:35 
Subject:Re: Unable to insert entry, error is Length Required ?
From:Tim Showers (show@gmail.com)
Date:11/06/2006 12:41:54 PM
List:com.googlegroups.google-base-data-api

Right now i'm setting it to the php strlen($itemxml) which should be returning the length in characters of the XML (i'm using default encoding, so if i'm not mistaken that should be the length of the data in bytes).

I've also tried setting it zero or just hard-coding the count, neither of which worked, which makes me think that i'm not property sending the header at all.

The response header is as follows:

HTTP/1.1 411 Length Required Date: Mon, 06 Nov 2006 20:34:53 GMT Content-Type: text/html Server: GFE/1.3 Content-Length: 1357

I don't know offhand how to get php/cURL to output the headers that it sends, but i'll try and find out. (it's on a remote box, so i can't just sniff it).

Thanks for your time, Tim