What I did here, to work, was replace the space character with "%20", similar to what the browser does and worked, now getContent returns the content. Now the question is when to use encodeUrl ??? Yeah, I used it just to escape the white spaces, but as I said it gave that mistake. And How to pass 'scheme' for 'httpClient' before of call getContent when I use encodeUrl.
- httpClient url with the spaces zuibaf
- Re: httpClient url with the spaces zuibaf
- Re: httpClient url with the spaces mashingan
