User tests: Successful: Unsuccessful:
...and that actually works
Closes #6556
see comments in original Issue #6556
This implements the same method of setting the method that is used in the Joomla Framework - I.e not setting the individual curl options, but just sending it with CURLOPT_CUSTOMREQUEST
To test - apply patch and test any apps using JHttp and put - probably a fringe case as Joomla doesnt actually consume this method itself as far as I can tell.
Additionally the gist here has some test cases against a test endpoint https://gist.github.com/PhilETaylor/a4ee67f8f48d3674221d
Labels |
Added:
?
|
oh my.... what a waste of time then.. oh well...
ok in that case I'll start a different track...
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-03-23 19:15:04 |
seems also that this is the same kind of solution as others are finding for CURL issues on the web http://developer.sugarcrm.com/2011/11/22/howto-do-put-requests-with-php-curl-without-writing-to-a-file/