PHP & CURL – Expectation Failed

You may also like...

11 Responses

  1. bsphil says:

    Holy crap this is a simple solution to a big headache I’ve been having today. Excellent job, thanks so much for sharing!

  2. Erik says:

    Thank you so much for explaining this as well as providing a solution!

  3. littleguy says:

    Had this error when trying to access SolusVM API. Your fix worked perfectly!

  4. zilvinas says:

    Thanks a lot. Took me a while to figure out this was coming from curl. I’m using zend framework and this sorted it out for me: $httpClient->setHeaders(‘Expect’, ”);

  5. Ary says:

    Man, You saved my skin…. Thanks!!!!

  6. Veneta says:

    Really helpful. Thanks!

  7. elxsy says:

    After all these years of PHP developing this was the first time I Saw this error, I googled and found your post before debugging ;) Thanks.

  8. biyoyo says:

    Thanks you so much! it’s was help me so much! ^^

Leave your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: