On Tue, Jun 05, 2007 at 07:52:16AM +0200, Roland Weber wrote: > Hello Eugeny, > > > Hello, could you please explain - if I get a stream from Get/PostMethod, > do I > > need to explicitly close it when I read all required data, or it is > done > > when I call httpmethod.abort() ? > > method.abort() will close the stream for you. Do NOT close the stream > before calling abort(), since that would read the remaining data.
Okay, so to ensure everything is working as desired (I have a set of stream wrappers to decode gzipped streams etc) I need to call httpmethod.abort() first (which would close underlying http stream) and then close stream with stream.close() method? -- Eugene N Dzhurinsky --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
