Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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

This comment has been minimized.

Show comment Hide comment
@mazgi

mazgi 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
Owner

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

This comment has been minimized.

Show comment Hide comment
@mazgi

mazgi Dec 12, 2016

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

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

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