Where was the space in your case?  Was it in the path portion of the URL or
in the form?  AFAIK, if the space is in the path portion AHC does *not*
encode it.  If it is in the query string or in the form, AHC converts it
into "+".  So I'm not sure why you're seeing underscores.  Could you send us
the exact URL you're testing with?

Thanks,
Sangjin


On Wed, Jun 11, 2008 at 6:51 AM, Viktor Balázs <[EMAIL PROTECTED]>
wrote:

> Hi!
>
> Try to replace spaces to %20...
>
> 2008/6/11 Yoav Artzi <[EMAIL PROTECTED]>:
> > When I request a URL containing spaces in AHC (AsyncHttpClient) it seems
> > like AHC replaces the space characters with underscores. Then, when doing
> > the actual request, AHC gets a 404 error. Any way I can change this
> behavior
> > and instruct AHC to send th eURL as is?
> >
> > Thanks
> >
>
>
>
> --
> Balázs Viktor
> Amkai Kft. (1188 Budapest, Szövet u. 9.)
>
> Email: [EMAIL PROTECTED]
> Jabber: [EMAIL PROTECTED]
> MSN: [EMAIL PROTECTED]
> Telefon: +36-30/6755532
>

Reply via email to