url.el 部分 HTTPS 链接没法工作?

我从源编译安装的 Emacs Mac Port 完全正常,可是从 brew install emacs 安装的 Emacs 有部分 HTTPS 链接有问题,比如:

~ $ emacs --batch --eval '(with-current-buffer (url-retrieve-synchronously "https://example.com/") (print (buffer-string)))'
Contacting host: example.com:443

""
~ $ emacs --batch --eval '(with-current-buffer (url-retrieve-synchronously "https://unpkg.com/[email protected]/dist/data.json") (print (buffer-string)))'
Contacting host: unpkg.com:443

"HTTP/1.1 400 Bad Request
Server: cloudflare
Date: Tue, 28 May 2019 04:38:28 GMT
Content-Type: text/html
Content-Length: 269
Connection: close
CF-RAY: -

<html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body bgcolor=\"white\">
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>
<hr><center>cloudflare</center>
</body>
</html>
"
~ $

一个没有返回,另一个返回 400,感觉是 Emacs 的锅,但是不知道具体怎么回事。

但有些 HTTPS 链接却没有问题,如:https://www.gnu.org/

~ $ emacs --batch --eval '(with-current-buffer (url-retrieve-synchronously "https://www.gnu.org/") (print (buffer-string)))'
Contacting host: www.gnu.org:443

"HTTP/1.1 200 OK
...