Quote:
Originally Posted by Black Rose
The missing slash was the reason for 400. HTTP servers are picky bastards.
https://en.wikipedia.org/wiki/Hypert...Client_request
The example code gives me "301 Moved Permanently" followed by the new link to follow. This is expected since the server enforces SSL which is not supported by sockets by itself. This was not the case when the tutorial was written. Using curl is your best option in these cases.
|
Thank you all, I thought so it is from sockets module.
I will contiune my project using curl.
__________________