I think that is a twitter problem too …
If you request directly to twitter for the tweet_button widget,
randomly, twitter answer us with a downloadable torrent url (this torrent is the twitter code)
Request: curl -I -k https://platform.twitter.com/widgets/tweet_button.html
This is the KO response:
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Disposition: attachment; filename=widgets/tweet_button.html.torrent;
Content-Type: application/x-bittorrent
Date: Sun, 22 Sep 2013 10:40:40 GMT
Last-Modified: Sat, 21 Sep 2013 18:13:07 GMT
P3P: CP=”CAO DSP LAW CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa OUR BUS IND UNI COM NAV INT”
Server: ECS (mad/4388)
X-Cache: HIT
Content-Length: 301
This is the OK reponse:
HTTP/1.1 200 OK
Cache-Control: no-cache
Last-Modified: Thu, 19 Sep 2013 23:54:42 GMT
ETag: “86e25ce34214e039e32bd33c7aaeefa6”
Content-Type: text/html; charset=utf-8
Date: Sun, 22 Sep 2013 10:28:27 GMT
Connection: keep-alive
P3P: CP=”CAO DSP LAW CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa OUR BUS IND UNI COM NAV INT”