Code Monkey home page Code Monkey logo

Comments (6)

tcdent avatar tcdent commented on July 25, 2024 1

Thanks for the feedback! Just fixed that notice and pushed to the multistatus branch. Hoping for feedback from one more person waiting for this feature, then it'll be in master.

from php-restclient.

Londeren avatar Londeren commented on July 25, 2024

Temporary solution is add $curlopt[CURLOPT_HTTPHEADER][] = 'Expect:'; to method execute()

from php-restclient.

tcdent avatar tcdent commented on July 25, 2024

Thanks for the additional info. I think I ran into this same bug a few years ago with the Twitter API client.

Trying to fix this without unexpected modifications to the request body; just need to make the header parsing a little more intelligent. Pull requests welcome!

from php-restclient.

tcdent avatar tcdent commented on July 25, 2024

Hey @Londeren, would you mind giving this new version of RestClient a try? I have incorporated support for multiple HTTP status lines in responses. I'll merge it into master after we spend a little more time with it.

https://github.com/tcdent/php-restclient/tree/multistatus

from php-restclient.

Londeren avatar Londeren commented on July 25, 2024

Hey! I have checked this version. I have some notices like:

Notice: Undefined index: content_type in include/vendor/tcdent/php-restclient/restclient.php on line 226

But nevertheless this your version of RestClient works fine for my case!

I am wating for this commit in the master:)

from php-restclient.

tcdent avatar tcdent commented on July 25, 2024

This is resolved in the 0.1.5 release.

from php-restclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.