ashishkranjan / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Expect: 100-continue Error When Update my tweets (branch/yegle revision:316) #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What are the steps to trigger the problem?
1)input some text in textarea of "Home" page
2)click "Update" buttom

What happened?

<p>HTTP/1.1 417 Expectation Failed: The expectation given in the Expect 
request-header
field could not be met by this server.</p>
<p>The client sent<pre>
Expect: 100-continue
</pre>
but we only allow the 100-continue expectation.</p>

What did you expect to happen?

branch/yegle/twitter.php Line:235 twitter_process()

Add code to branch/yegle/twitter.php Line:264

curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));

Reference page:
http://www.infernodevelopment.com/expect-100-continue-header-twitter-api-
error-using-php-curl

I guess the trunk maybe have this problem, please check

Original issue reported on code.google.com by hijackj...@gmail.com on 14 May 2010 at 2:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The Yegle branch is unsupported.

Original comment by david.carrington on 14 Apr 2011 at 3:49