Skip to content

Instantly share code, notes, and snippets.

@mazgi
Created December 12, 2016 11:48
Show Gist options
  • Save mazgi/c029d959ab499a8ca69c5e6198f62cd2 to your computer and use it in GitHub Desktop.
Save mazgi/c029d959ab499a8ca69c5e6198f62cd2 to your computer and use it in GitHub Desktop.
weechat
$ grep url ~/.weechat/script.conf
url = "https://weechat.org/files/plugins.xml.gz"
url_force_https = on
$ curl -LI 'https://weechat.org/files/plugins.xml.gz'
HTTP/1.1 200 OK
Date: Mon, 12 Dec 2016 11:47:32 GMT
Server: Apache
X-Frame-Options: sameorigin
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'self' 'unsafe-inline' fonts.googleapis.com fonts.gstatic.com cdnjs.cloudflare.com
Last-Modified: Sun, 11 Dec 2016 21:43:23 GMT
ETag: "19597-54368e056d4c0"
Accept-Ranges: bytes
Content-Length: 103831
Strict-Transport-Security: max-age=2592000
Content-Type: application/x-gzip
@mazgi
Copy link
Author

mazgi commented Dec 12, 2016

違った。。
ダウンロードがダメっぽい

$ ls -l ~/.weechat/script/
total 208
-rw-r--r--  1       0 Dec 12 20:50 buffers.pl
-rw-r--r--  1  103831 Dec 12 20:50 plugins.xml.gz

@mazgi
Copy link
Author

mazgi commented Dec 12, 2016

これでいけた。。
証明書周りか・・

$ grep url ~/.weechat/script.conf
url = "http://weechat.org/files/plugins.xml.gz"
url_force_https = off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment