Re: [Rd] Problems Reading from Socket

2006-07-23 Thread mschaff
To answer my own question (and maybe help someone else), it turns out my web server was sending chunked responses and inserting chunk sizes before each data chunk. Changing the line: request<-paste("POST ",path," HTTP/1.1\nHost: ",host... to request<-paste("POST ",path," HTTP/1.0\nHost: ",hos

[Rd] Problems Reading from Socket

2006-07-21 Thread Mike Schaffer
My followup question went unanswered in another thread, so I thought I'd start a new one and rephrase it. I need to use CGI POST to retrieve data from a server, so thanks to Duncan's suggestion, I used the httpRequest package as example code for doing so. BUT, I have another problem. The