What is the curl error 52 “empty reply from server”? This can happen if curl is asked to do plain HTTP on a server that does HTTPS. Example: