You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hai..
thank you so much for build ripcord,
very very nice..
owh ya, i have a problem with https url..
in my project, i've change the method post on Ripcord_Transport_Stream
implements Ripcord_Transport..
to: (see attachment)
this is just my suggestion :-)
once again.. thank you very much for ripcord.
Original issue reported on code.google.com by mr.ryansilalahi on 13 Aug 2012 at 5:18
Hi, there is a Ripcord_Transport_CURL class in ripcord as well. You can use it
by calling Ripcord::client() like this:
$client = ripcord::client( $url, $options, new Ripcord_Transport_CURL( array(
CURLOPT_VERBOSE => TRUE,
CURLOPT_TIMEOUT => 60,
CURLOPT_CONNECTTIMEOUT => 60,
CURLOPT_MAXREDIRS => 3,
CURLOPT_FOLLOWLOCATION => 1,
CURLOPT_HTTPHEADER => array('Content-type: text/xml'),
CURLOPT_SSL_VERIFYTYPEER => false
) ) );
I guess the HTTPHEADER should have been standard :)
The default class also returns the headers as a string instead of an array,
have to look into that as well.
Anyway, I hope this works for you. If not tell me whats missing and I'll fix it.
~
Auke
Original comment by a...@muze.nl on 10 Dec 2012 at 11:39
TODO:
- add the CURLOPT_HTTPHEADER with Content-type: text/xml as default in the CURL
transport layer
- check the other CURLOPT settings for a sane default behaviour.
Original comment by a.c.van....@gmail.com on 10 Dec 2012 at 12:23
Original issue reported on code.google.com by
mr.ryansilalahi
on 13 Aug 2012 at 5:18Attachments:
The text was updated successfully, but these errors were encountered: