|Subject:||HTTP Response ContentStream not delivering anything|
|Posted by:||Richard A. DeVenezia (rdevenez…@wildblue.net)|
|Date:||Sat, 8 Mar 2008|
I am posting to a URL that should download a file.
The post data was scraped off a previous page delivered by a GET.
cmdXML := 'Download+XML';
postdata := TStringList.Create;
Afer posting I am trying to use
but the .size is zero, and attempts to .Read from it don't give me anything.
I'm pretty sure the server is responding properly. I have the HTTP running
through a proxy server so that I can examine the header traffic. What I see
HTTP/1.1 200 OK
Date: Sat, 08 Mar 2008 10:29:48 GMT
I tried feeding the content stream to an xml parser, but that didn't work
either -- probably because the .size is zero :(
Any ideas appreciated, thanks.