Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56637 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96646 invoked from network); 25 Nov 2011 13:16:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2011 13:16:25 -0000 Received: from [127.0.0.1] ([127.0.0.1:8723]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id DD/63-12107-8259FCE4 for ; Fri, 25 Nov 2011 08:16:24 -0500 Authentication-Results: pb1.pair.com smtp.mail=ben@handcraftedbyben.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ben@handcraftedbyben.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain handcraftedbyben.co.uk from 178.79.140.116 cause and error) X-PHP-List-Original-Sender: ben@handcraftedbyben.co.uk X-Host-Fingerprint: 178.79.140.116 li196-116.members.linode.com Received: from [178.79.140.116] ([178.79.140.116:43283] helo=mail.handcraftedbyben.co.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/E1-12107-2498FCE4 for ; Fri, 25 Nov 2011 07:25:39 -0500 Received: from Acer4820 (unknown [86.188.197.235]) (Authenticated sender: ben@handcraftedbyben.co.uk) by mail.handcraftedbyben.co.uk (Postfix) with ESMTPSA id 4CD05E676 for ; Fri, 25 Nov 2011 12:25:36 +0000 (UTC) To: Date: Fri, 25 Nov 2011 12:25:34 -0000 Message-ID: <001c01ccab6d$5705e1d0$0511a570$@co.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001D_01CCAB6D.5705E1D0" X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcyrbVRKMOXPhF7URkOhsGbQfo9Osg== Content-Language: en-gb Subject: OAuth Request Engine Behaviour From: ben@handcraftedbyben.co.uk ("Ben Tadiar") ------=_NextPart_000_001D_01CCAB6D.5705E1D0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_001D_01CCAB6D.5705E1D0--