Wesley W. Terpstra wrote:
>On Wed, Aug 28, 2002 at 11:48:38AM -0700, Darin Fisher wrote: > > >>>Also, if after reading the content, I concluded that the POST should not be >>>sent, could I terminate it? >>> >>> >>yes, you can call the Cancel method; however, this code path has not >>been tested, and when i look at the code, it appears to me that the >>request would still get sent to the server, but then would be canceled >>once the server started to respond to the POST request. so, that may or >>may not work for you application. if it doesn't, then file a bug and it >>should be trivial to make it immediately cancel the http channel instead. >> >> > >I could also just replace the post with an empty buffer, then issue the >Cancel, right? That would be safer anyways since this piece of code I want >to write is for keeping private information... private, > > yup, that would also work. darin
