? Success

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
23 Mar 2015

...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

avatar PhilETaylor PhilETaylor - open - 23 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 23 Mar 2015
Labels Added: ?
avatar PhilETaylor
PhilETaylor - comment - 23 Mar 2015

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/

avatar mbabker
mbabker - comment - 23 Mar 2015

FWIW #6312 changed it...

avatar PhilETaylor
PhilETaylor - comment - 23 Mar 2015

oh my.... what a waste of time then.. oh well...

avatar PhilETaylor PhilETaylor - close - 23 Mar 2015
avatar PhilETaylor
PhilETaylor - comment - 23 Mar 2015

ok in that case I'll start a different track...

avatar PhilETaylor PhilETaylor - change - 23 Mar 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-03-23 19:15:04
avatar PhilETaylor PhilETaylor - close - 23 Mar 2015
avatar PhilETaylor PhilETaylor - head_ref_deleted - 23 Mar 2015

Add a Comment

Login with GitHub to post a comment