thanks

2008/1/20, Roland Weber <[EMAIL PROTECTED]>:
>
> 游泳池的鱼 wrote:
> > Hi all:
> >        I use HttpClient 3.1 rc1 to download HTML page. Some times I  get
> > .avi or mp3 file but it not my want.
> > So I check "content-type" , if not equals "text/html", I release
> connection.
> > The problem happened , HttpClient
> > block in  here and download all data , however, I just want to close
> > stream.  any suggest?
>
> Use method.abort();
>
> cheers,
> Roland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to