View Full Version : 301 redirect to the same url

November 26th, 2017, 06:55 PM
Hi there!

I am sending http requests using this code :


It works well for most of the http websites, but when I try to get this url "http://www.cplusplus.com/" the webserver performs a 301 redirection to the same url.

Isn't the webserver supposed to provide a new url in the 301 http headers? What am I doing wrong?

Thanks a lot!