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