But in amazon.lsp I suddenly see this
Code: Select all
(define AWS-ec2-url "https://ec2.amazonaws.com/")
Code: Select all
(get-url (string AWS-ec2-url ....
Code: Select all
> (get-url "https://www.google.com/")
Code: Select all
> (get-url "https://m1.krot.org/")
"ERR: Connection failed"
Code: Select all
> (get-url "https://m1.krot.org:443/")
"ERR: server code 400: HTTP/1.1 400 Bad Request\r\n<html>\r\n<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>400 Bad Request</h1></center>\r\n<center>The plain HTTP request was sent to HTTPS port</center>\r\n<hr><center>nginx/0.7.67</center>\r\n</body>\r\n</html>\r\n"
Now, the spec says that http:// and file:// URLs are accepted, but it should not take https:// then.
doc/CHANGES file states following:
Code: Select all
8.7.0-rc1 released October 10th 2005
'get-url' now acccepts https:// pages in main url or moved location