Comments (6)
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.
Temporary solution is add $curlopt[CURLOPT_HTTPHEADER][] = 'Expect:';
to method execute()
from php-restclient.
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.
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.
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.
This is resolved in the 0.1.5 release.
from php-restclient.
Related Issues (20)
- Is it PHP 7 compatible? HOT 1
- Empty headers
- Error passing file in parameters HOT 2
- Wiki permissions opened to everyone ? HOT 1
- Error SSL certificate problem: self signed certificate HOT 1
- parse_response - problems parsing HTTP 100 Continue with extra header info HOT 4
- I'm having the same problem when posting messages using Slacks api, it sometimes also return a 100 Continue before the 200 OK. HOT 1
- PHP 8.1 incompatibility HOT 6
- Add a curl debug output HOT 2
- PHP 8.2 deprecated "Dollar sign ($) outside of the curly braces" HOT 2
- Packagist claims that version 0.1.8.2 require PHP >= 7.2 when it should be >=8.0 HOT 2
- The requested URL was rejected. Please consult with your administrator
- Support multipart
- Complete typing
- Metaclass for API definitions
- `async` support
- Take latest REST best practices into account
- Get all tests to pass
- Finish implementing Attributes
- HTTP/3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-restclient.