OAuth Request Engine Behaviour
| From: | Ben Tadiar | Date: | Fri, 25 Nov 2011 12:25:34 +0000 |
| Subject: | OAuth Request Engine Behaviour | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-56637@lists.php.net to get a copy of this message | ||
Hi,
Paul Dragoonis directed me to you with a question about the internals of
PECL OAuth.
Upon calling OAuth::getRequestToken() the following Exception is thrown if I
have not explicitely set the request engine using OAuth::setRequestEngine():
Fatal error: Uncaught exception 'OAuthException' with message 'making the
request failed (Unsupported protocol)'.
Is this behaviour expected or should the request engine be set to either PHP
Streams/cURL by default?
Regards,
Ben Tadiar
ben@handcraftedbyben.co.uk