gnu-social/_darcs/tentative_pristine
Zach Copley aeafd0579a Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs with invalid "expect" headers
darcs-hash:20081225152207-7b5ce-fe890baabaa8f0bf60b05f7558c1ece3544d9906.gz
2008-12-25 10:22:07 -05:00

15 lines
670 B
Plaintext

hunk ./lib/twitter.php 31
- // CURLOPT_USERAGENT => "identi.ca",
+ # CURLOPT_USERAGENT => "identi.ca",
hunk ./lib/twitter.php 33
- CURLOPT_TIMEOUT => 120
+ CURLOPT_TIMEOUT => 120,
+ # Twitter is strict about accepting invalid "Expect" headers
+ CURLOPT_HTTPHEADER => array('Expect:')
hunk ./lib/util.php 1574
- CURLOPT_TIMEOUT => 120
+ CURLOPT_TIMEOUT => 120,
+
+ # Twitter is strict about accepting invalid "Expect" headers
+ CURLOPT_HTTPHEADER => array('Expect:')