Hi,
I wanted to know if I use easy handle and call

curlEasyStatusCode = curl_easy_setopt(curlEasyHandle,
CURLOPT_URL, url.c_str());

url is a string.

and if my url contains white spaces at the end, will it cause any connection failures?? Or curl will ignore the whitespaces at the end and do it correctly. I found out that the white spaces at the beginning of a URL create problem in identifying the
protocol.

But when I tried putting white spaces at the end of URL, they succeded sometimes and sometimes failed.

Please let me know the behaviour incase of white spaces at the end of a URL.

Thanks you.
Regards
Shivanand

Reply via email to