engine-native
engine-native copied to clipboard
Support PATCH requests
Hello,
Please support PATCH requests. It's part of the HTTP standard and very useful when creating RESTful API's.
Currently making a PATCH request in the simulator or on native will cause a crash or this error message:
CCHttpClient: unknown request type, only GET, POST, PUT or DELETE is supported
I've tested on both cocos creator 2.0.7 and 1.10, but I'm using 1.10 for iOS performance reasons so I hope that branch is updated and a new cocos creator is released. I could make a pull request for it.
Thank you