summaryrefslogtreecommitdiff
path: root/zend/documentation/api/core/files/Gdata.HttpClient.html
diff options
context:
space:
mode:
Diffstat (limited to 'zend/documentation/api/core/files/Gdata.HttpClient.html')
-rw-r--r--zend/documentation/api/core/files/Gdata.HttpClient.html366
1 files changed, 366 insertions, 0 deletions
diff --git a/zend/documentation/api/core/files/Gdata.HttpClient.html b/zend/documentation/api/core/files/Gdata.HttpClient.html
new file mode 100644
index 0000000..c8efbfd
--- /dev/null
+++ b/zend/documentation/api/core/files/Gdata.HttpClient.html
@@ -0,0 +1,366 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Zend Gdata API Documentation</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta><link rel="stylesheet" href="../css/template.css" type="text/css"></link><script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="../js/jquery.tools.min.js"></script><script type="text/javascript" src="../js/jquery-ui-1.8.2.custom.min.js"></script><script type="text/javascript" src="../js/template.js"></script></head><body><div id="content"><h1 class="file">Gdata/HttpClient.php</h1><div id="file-nav-box"><div id="file-nav-options">
+ Show:
+ <img src="../images/icons/visibility_public.png" alt="Public" id="show-public"></img><img src="../images/icons/visibility_protected.png" alt="Protected" id="show-protected"></img><img src="../images/icons/visibility_private.png" alt="Private" id="show-private"></img><span class="attribute" id="show-inherited">inherited</span></div><div id="file-nav-container"><ul id="file-nav"><li><a href="#classes"><img src="../images/icons/class.png" alt="Class" height="14"></img>
+ Classes
+ </a><ul><li><a href="#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></li></ul></li></ul><div style="clear: left;"></div></div><div id="file-nav-tab">
+ Table of Contents
+ </div></div><a name="top" class="anchor"></a><div id="file-description"><div class="short-description">Zend Framework</div><div class="long-description"><p>LICENSE</p>
+
+<p>This source file is subject to the new BSD license that is bundled
+with this package in the file LICENSE.txt.
+It is also available through the world-wide-web at this URL:
+http://framework.zend.com/license/new-bsd
+If you did not receive a copy of the license and are unable to
+obtain it through the world-wide-web, please send an email
+to license@zend.com so we can send you a copy immediately.</p></div></div><dl class="file-info"><dt>Category</dt><dd>Zend
+  
+ </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+  
+ </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
+  
+ </dd><dt>Package</dt><dd>Zend_Gdata
+  
+ </dd><dt>Subpackage</dt><dd>Gdata
+  
+ </dd><dt>Version</dt><dd>$Id: HttpClient.php 24593 2012-01-05 20:35:02Z matthew $
+  
+ </dd></dl><a name="classes" class="anchor"></a><a id="\Zend_Gdata_HttpClient" class="anchor"></a><h2 class="class">\Zend_Gdata_HttpClient<div class="to-top"><a href="#top">jump to top</a></div></h2><div class="class"><small class="package"><b>Package: </b>Zend\Gdata\Gdata</small><div class="short-description">Gdata Http Client object.</div><div class="long-description"><p>Class to extend the generic Zend Http Client with the ability to perform
+secure AuthSub requests</p></div><dl class="class-info"><dt>Parent(s)</dt><dd><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></dd><dt>Category</dt><dd>Zend
+  
+ </dd><dt>Copyright</dt><dd>Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+  
+ </dd><dt>License</dt><dd><a href="http://framework.zend.com/license/new-bsd">New BSD License</a>
+  
+ </dd></dl><h3>Constants</h3><div><a id="\Zend_Gdata_HttpClient::GET" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">GET</span>
+ = 'GET'</code><div class="description"><span class="attribute">inherited</span><div class="short-description">HTTP request methods</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::GET">\Zend_Http_Client::GET</a></small></div><div class="code-tabs"><div class="long-description"></div><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::GET">\Zend_Http_Client::GET</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::POST" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">POST</span>
+ = 'POST'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::POST">\Zend_Http_Client::POST</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::POST">\Zend_Http_Client::POST</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::PUT" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">PUT</span>
+ = 'PUT'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::PUT">\Zend_Http_Client::PUT</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::PUT">\Zend_Http_Client::PUT</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::HEAD" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">HEAD</span>
+ = 'HEAD'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::HEAD">\Zend_Http_Client::HEAD</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::HEAD">\Zend_Http_Client::HEAD</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::DELETE" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">DELETE</span>
+ = 'DELETE'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::DELETE">\Zend_Http_Client::DELETE</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::DELETE">\Zend_Http_Client::DELETE</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::TRACE" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">TRACE</span>
+ = 'TRACE'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::TRACE">\Zend_Http_Client::TRACE</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::TRACE">\Zend_Http_Client::TRACE</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::OPTIONS" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">OPTIONS</span>
+ = 'OPTIONS'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::OPTIONS">\Zend_Http_Client::OPTIONS</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::OPTIONS">\Zend_Http_Client::OPTIONS</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::CONNECT" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">CONNECT</span>
+ = 'CONNECT'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::CONNECT">\Zend_Http_Client::CONNECT</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::CONNECT">\Zend_Http_Client::CONNECT</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::MERGE" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">MERGE</span>
+ = 'MERGE'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::MERGE">\Zend_Http_Client::MERGE</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::MERGE">\Zend_Http_Client::MERGE</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::AUTH_BASIC" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">AUTH_BASIC</span>
+ = 'basic'</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Supported HTTP Authentication methods</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::AUTH_BASIC">\Zend_Http_Client::AUTH_BASIC</a></small></div><div class="code-tabs"><div class="long-description"></div><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::AUTH_BASIC">\Zend_Http_Client::AUTH_BASIC</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::HTTP_1" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">HTTP_1</span>
+ = '1.1'</code><div class="description"><span class="attribute">inherited</span><div class="short-description">HTTP protocol versions</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::HTTP_1">\Zend_Http_Client::HTTP_1</a></small></div><div class="code-tabs"><div class="long-description"></div><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::HTTP_1">\Zend_Http_Client::HTTP_1</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::HTTP_0" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">HTTP_0</span>
+ = '1.0'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::HTTP_0">\Zend_Http_Client::HTTP_0</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::HTTP_0">\Zend_Http_Client::HTTP_0</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::CONTENT_TYPE" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">CONTENT_TYPE</span>
+ = 'Content-Type'</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Content attributes</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::CONTENT_TYPE">\Zend_Http_Client::CONTENT_TYPE</a></small></div><div class="code-tabs"><div class="long-description"></div><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::CONTENT_TYPE">\Zend_Http_Client::CONTENT_TYPE</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::CONTENT_LENGTH" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">CONTENT_LENGTH</span>
+ = 'Content-Length'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::CONTENT_LENGTH">\Zend_Http_Client::CONTENT_LENGTH</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::CONTENT_LENGTH">\Zend_Http_Client::CONTENT_LENGTH</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::ENC_URLENCODED" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">ENC_URLENCODED</span>
+ = 'application/x-www-form-urlencoded'</code><div class="description"><span class="attribute">inherited</span><div class="short-description">POST data encoding methods</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::ENC_URLENCODED">\Zend_Http_Client::ENC_URLENCODED</a></small></div><div class="code-tabs"><div class="long-description"></div><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::ENC_URLENCODED">\Zend_Http_Client::ENC_URLENCODED</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::ENC_FORMDATA" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">ENC_FORMDATA</span>
+ = 'multipart/form-data'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::ENC_FORMDATA">\Zend_Http_Client::ENC_FORMDATA</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::ENC_FORMDATA">\Zend_Http_Client::ENC_FORMDATA</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::VTYPE_SCALAR" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">VTYPE_SCALAR</span>
+ = 'SCALAR'</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Value types for Body key/value pairs</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::VTYPE_SCALAR">\Zend_Http_Client::VTYPE_SCALAR</a></small></div><div class="code-tabs"><div class="long-description"></div><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::VTYPE_SCALAR">\Zend_Http_Client::VTYPE_SCALAR</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::VTYPE_FILE" class="anchor"></a><div class="constant publicC inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/constant.png" alt="Constant"></img> 
+ <span class="highlight">VTYPE_FILE</span>
+ = 'FILE'</code><div class="description"><span class="attribute">inherited</span><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::VTYPE_FILE">\Zend_Http_Client::VTYPE_FILE</a></small></div><div class="code-tabs"><dl class="constant-info"><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::VTYPE_FILE">\Zend_Http_Client::VTYPE_FILE</a>
+  
+ </dd></dl></div><div class="clear"></div></div></div><h3>Properties</h3><div><a id="\Zend_Gdata_HttpClient::$_authSubPrivateKeyId" class="anchor"></a><div class="property private"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_private.png" style="margin-right: 5px" alt="private"></img>resource <span class="highlight">$_authSubPrivateKeyId</span> = null</code><div class="description"><div class="short-description">OpenSSL private key resource id
+This key is used for AuthSub authentication.</div></div><div class="code-tabs"><div class="long-description"><p>If this value is set,
+it is assuemd that secure AuthSub is desired.</p></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>resource</dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_authSubToken" class="anchor"></a><div class="property private"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_private.png" style="margin-right: 5px" alt="private"></img>string <span class="highlight">$_authSubToken</span> = null</code><div class="description"><div class="short-description">Token for AuthSub authentication.</div></div><div class="code-tabs"><div class="long-description"><p>If this token is set, AuthSub authentication is used.</p></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_clientLoginKey" class="anchor"></a><div class="property private"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_private.png" style="margin-right: 5px" alt="private"></img>string <span class="highlight">$_clientLoginKey</span> = null</code><div class="description"><div class="short-description">Token for ClientLogin authentication.</div></div><div class="code-tabs"><div class="long-description"><p>If this token is set, and the AuthSub key is not set,
+ClientLogin authentication is used</p></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_clientLoginToken" class="anchor"></a><div class="property private"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_private.png" style="margin-right: 5px" alt="private"></img>string <span class="highlight">$_clientLoginToken</span> = null</code><div class="description"><div class="short-description">Token for ClientLogin authentication.</div></div><div class="code-tabs"><div class="long-description"><p>If only this token is set, ClientLogin authentication is used.</p></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_fileInfoDb" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>resource <span class="highlight">$_fileInfoDb</span> = null</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><div class="short-description">Fileinfo magic database resource</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$_fileInfoDb">\Zend_Http_Client::$$_fileInfoDb</a></small></div><div class="code-tabs"><div class="long-description"><p>This variable is populated the first time _detectFileMimeType is called
+and is then reused on every call to this method</p></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>resource</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$_fileInfoDb">\Zend_Http_Client::$$_fileInfoDb</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_queryBracketsEscaped" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>boolean <span class="highlight">$_queryBracketsEscaped</span> = true</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Status if the http_build_query function escapes brackets</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$_queryBracketsEscaped">\Zend_Http_Client::$$_queryBracketsEscaped</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>true</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>boolean</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$_queryBracketsEscaped">\Zend_Http_Client::$$_queryBracketsEscaped</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_streamingRequest" class="anchor"></a><div class="property protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>bool <span class="highlight">$_streamingRequest</span> = null</code><div class="description"><div class="short-description">True if this request is being made with data supplied by
+a stream object instead of a raw encoded string.</div></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>bool</dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$_unmaskStatus" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>boolean <span class="highlight">$_unmaskStatus</span> = false</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Status for unmasking GET array params</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$_unmaskStatus">\Zend_Http_Client::$$_unmaskStatus</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>false</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>boolean</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$_unmaskStatus">\Zend_Http_Client::$$_unmaskStatus</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$adapter" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\Zend_Http_Client_Adapter_Interface <span class="highlight">$adapter</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">The adapter used to perform the actual connection to the server</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$adapter">\Zend_Http_Client::$$adapter</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd><a href="../files/Http.Client.Adapter.Interface.html#\Zend_Http_Client_Adapter_Interface">\Zend_Http_Client_Adapter_Interface</a></dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$adapter">\Zend_Http_Client::$$adapter</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$auth" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array|null <span class="highlight">$auth</span></code><div class="description"><span class="attribute">inherited</span><div class="short-description">HTTP Authentication settings</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$auth">\Zend_Http_Client::$$auth</a></small></div><div class="code-tabs"><div class="long-description"><p>Expected to be an associative array with this structure:
+$this->auth = array('user' => 'username', 'password' => 'password', 'type' => 'basic')
+Where 'type' should be one of the supported authentication types (see the AUTH_*
+constants), for example 'basic' or 'digest'.</p>
+
+<p>If null, no authentication will be used.</p></div><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array | null</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$auth">\Zend_Http_Client::$$auth</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$body_field_order" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$body_field_order</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Ordered list of keys from key/value pair data to include in body</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$body_field_order">\Zend_Http_Client::$$body_field_order</a></small></div><div class="code-tabs"><div class="long-description"><p>An associative array, where each element is of the format:
+ '<field name>' => VTYPE_SCALAR | VTYPE_FILE</p></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$body_field_order">\Zend_Http_Client::$$body_field_order</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$config" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$config</span> = array('maxredirects' =&gt; 5, 'strictredirects' =&gt; false, 'useragent' =&gt; 'Zend_Http_Client', 'timeout' =&gt; 10, 'adapter' =&gt; 'Zend_Http_Client_Adapter_Socket', 'httpversion' =&gt; self::HTTP_1, 'keepalive' =&gt; false, 'storeresponse' =&gt; true, 'strict' =&gt; true, 'output_stream' =&gt; false, 'encodecookies' =&gt; true, 'rfc3986_strict' =&gt; false)</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Configuration array, set using the constructor or using ::setConfig()</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$config">\Zend_Http_Client::$$config</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array('maxredirects' =&gt; 5, 'strictredirects' =&gt; false, 'useragent' =&gt; 'Zend_Http_Client', 'timeout' =&gt; 10, 'adapter' =&gt; 'Zend_Http_Client_Adapter_Socket', 'httpversion' =&gt; self::HTTP_1, 'keepalive' =&gt; false, 'storeresponse' =&gt; true, 'strict' =&gt; true, 'output_stream' =&gt; false, 'encodecookies' =&gt; true, 'rfc3986_strict' =&gt; false)</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$config">\Zend_Http_Client::$$config</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$cookiejar" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\Zend_Http_CookieJar <span class="highlight">$cookiejar</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">The client's cookie jar</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$cookiejar">\Zend_Http_Client::$$cookiejar</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>\Zend_Http_CookieJar</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$cookiejar">\Zend_Http_Client::$$cookiejar</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$enctype" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>string <span class="highlight">$enctype</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Request body content type (for POST requests)</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$enctype">\Zend_Http_Client::$$enctype</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$enctype">\Zend_Http_Client::$$enctype</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$files" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$files</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">File upload arrays (used in POST requests)</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$files">\Zend_Http_Client::$$files</a></small></div><div class="code-tabs"><div class="long-description"><p>An associative array, where each element is of the format:
+ 'name' => array('filename.txt', 'text/plain', 'This is the actual file contents')</p></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$files">\Zend_Http_Client::$$files</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$headers" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$headers</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Associative array of request headers</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$headers">\Zend_Http_Client::$$headers</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$headers">\Zend_Http_Client::$$headers</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$last_request" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>string <span class="highlight">$last_request</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">The last HTTP request sent by the client, as string</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$last_request">\Zend_Http_Client::$$last_request</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$last_request">\Zend_Http_Client::$$last_request</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$last_response" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\Zend_Http_Response <span class="highlight">$last_response</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">The last HTTP response received by the client</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$last_response">\Zend_Http_Client::$$last_response</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd><a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$last_response">\Zend_Http_Client::$$last_response</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$method" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>string <span class="highlight">$method</span> = self::GET</code><div class="description"><span class="attribute">inherited</span><div class="short-description">HTTP request method</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$method">\Zend_Http_Client::$$method</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>self::GET</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$method">\Zend_Http_Client::$$method</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$paramsGet" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$paramsGet</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Associative array of GET parameters</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$paramsGet">\Zend_Http_Client::$$paramsGet</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$paramsGet">\Zend_Http_Client::$$paramsGet</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$paramsPost" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>array <span class="highlight">$paramsPost</span> = array()</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Associative array of POST parameters</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$paramsPost">\Zend_Http_Client::$$paramsPost</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>array()</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>array</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$paramsPost">\Zend_Http_Client::$$paramsPost</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$raw_post_data" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>string <span class="highlight">$raw_post_data</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">The raw post data to send.</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$raw_post_data">\Zend_Http_Client::$$raw_post_data</a></small></div><div class="code-tabs"><div class="long-description"><p>Could be set by setRawData($data, $enctype).</p></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>string</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$raw_post_data">\Zend_Http_Client::$$raw_post_data</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$redirectCounter" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>int <span class="highlight">$redirectCounter</span> = 0</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Redirection counter</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$redirectCounter">\Zend_Http_Client::$$redirectCounter</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>0</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd>int</dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$redirectCounter">\Zend_Http_Client::$$redirectCounter</a>
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::$uri" class="anchor"></a><div class="property protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png" alt="&gt;"></img><img src="../images/icons/arrow_down.png" alt="V" style="display: none;"></img></a><code class="title"><img src="../images/icons/property.png" alt="Property"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img>\Zend_Uri_Http <span class="highlight">$uri</span> = null</code><div class="description"><span class="attribute">inherited</span><div class="short-description">Request URI</div><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::$$uri">\Zend_Http_Client::$$uri</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Default value</strong><code>null</code><strong>Details</strong><dl class="property-info"><dt>Type</dt><dd><a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a></dd><dt>Inherited_from</dt><dd><a href="../files/
+ Http.Client.html#\Zend_Http_Client::$$uri">\Zend_Http_Client::$$uri</a>
+  
+ </dd></dl></div><div class="clear"></div></div></div><h3>Methods</h3><div><a id="\Zend_Gdata_HttpClient::__construct()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">__construct</span><span class="nb-faded-text">(<a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> | string $uri = null, array $config = null)</span> : void</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Constructor method.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::__construct()">\Zend_Http_Client::__construct()</a></small></div><div class="code-tabs"><div class="long-description"><p>Will create a new HTTP client. Accepts the target
+URL and optionally configuration array.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$uri</th><td><a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> | string</td><td><em></em></td></tr><tr><th>$config</th><td>array</td><td><em><p>Configuration key-value pairs.</p>
+</em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_detectFileMimeType()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_detectFileMimeType</span><span class="nb-faded-text">(string $file)</span> : string</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Attempt to detect the MIME type of a file using available extensions</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::_detectFileMimeType()">\Zend_Http_Client::_detectFileMimeType()</a></small></div><div class="code-tabs"><div class="long-description"><p>This method will try to detect the MIME type of a file. If the fileinfo
+extension is available, it will be used. If not, the mime_magic
+extension which is deprected but is still available in many PHP setups
+will be tried.</p>
+
+<p>If neither extension is available, the default application/octet-stream
+MIME type will be returned</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$file</th><td>string</td><td><em><p>File path</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>MIME type</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_flattenParametersArray()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_flattenParametersArray</span><span class="nb-faded-text">(array $parray, string $prefix = null)</span> : array</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Convert an array of parameters into a flat array of (key, value) pairs</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::_flattenParametersArray()">\Zend_Http_Client::_flattenParametersArray()</a></small></div><div class="code-tabs"><div class="long-description"><p>Will flatten a potentially multi-dimentional array of parameters (such
+as POST parameters) into a flat array of (key, value) paris. In case
+of multi-dimentional arrays, square brackets ([]) will be added to the
+key to indicate an array.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$parray</th><td>array</td><td><em></em></td></tr><tr><th>$prefix</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table><strong>Details</strong><dl class="function-info"><dt>Since</dt><dd>1.9
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_getParametersRecursive()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_getParametersRecursive</span><span class="nb-faded-text">(array $parray, bool $urlencode = false)</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Helper method that gets a possibly multi-level parameters array (get or
+post) and flattens it.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::_getParametersRecursive()">\Zend_Http_Client::_getParametersRecursive()</a></small></div><div class="code-tabs"><div class="long-description"><p>The method returns an array of (key, value) pairs (because keys are not
+necessarily unique. If one of the parameters in as array, it will also
+add a [] suffix to the key.</p>
+
+<p>This method is deprecated since Zend Framework 1.9 in favour of
+self::_flattenParametersArray() and will be dropped in 2.0</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$parray</th><td>array</td><td><em><p>The parameters array</p></em></td></tr><tr><th>$urlencode</th><td>bool</td><td><em><p>Whether to urlencode the name and value</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_openTempStream()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_openTempStream</span><span class="nb-faded-text">()</span> : resource</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Create temporary stream</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::_openTempStream()">\Zend_Http_Client::_openTempStream()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>resource</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_prepareBody()" class="anchor"></a><div class="method protected"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_prepareBody</span><span class="nb-faded-text">()</span> : string</code><div class="description"><p class="short_description">Prepare the request body (for POST and PUT requests)</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_prepareHeaders()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_prepareHeaders</span><span class="nb-faded-text">()</span> : array</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Prepare the request headers</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::_prepareHeaders()">\Zend_Http_Client::_prepareHeaders()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::_setParameter()" class="anchor"></a><div class="method protected inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_protected.png" style="margin-right: 5px" alt="protected"></img><span class="highlight">_setParameter</span><span class="nb-faded-text">(string $type, string $name, string $value)</span> : null</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set a GET or POST parameter - used by SetParameterGet and SetParameterPost</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::_setParameter()">\Zend_Http_Client::_setParameter()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$type</th><td>string</td><td><em><p>GET or POST</p></em></td></tr><tr><th>$name</th><td>string</td><td><em></em></td></tr><tr><th>$value</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>null</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::encodeAuthHeader()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">encodeAuthHeader</span><span class="nb-faded-text">(string $user, string $password, string $type = self::AUTH_BASIC)</span> : string</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Create a HTTP authentication "Authorization:" header according to the
+specified user, password and authentication method.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::encodeAuthHeader()">\Zend_Http_Client::encodeAuthHeader()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$user</th><td>string</td><td><em></em></td></tr><tr><th>$password</th><td>string</td><td><em></em></td></tr><tr><th>$type</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table><strong>Details</strong><dl class="function-info"><dt>See</dt><dd>\http://www.faqs.org/rfcs/rfc2617.html
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::encodeFormData()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">encodeFormData</span><span class="nb-faded-text">(string $boundary, string $name, mixed $value, string $filename = null, array $headers = array())</span> : string</code><div class="description"><span class="attribute">static</span><span class="attribute">inherited</span><p class="short_description">Encode data to a multipart/form-data part suitable for a POST request.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::encodeFormData()">\Zend_Http_Client::encodeFormData()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$boundary</th><td>string</td><td><em></em></td></tr><tr><th>$name</th><td>string</td><td><em></em></td></tr><tr><th>$value</th><td>mixed</td><td><em></em></td></tr><tr><th>$filename</th><td>string</td><td><em></em></td></tr><tr><th>$headers</th><td>array</td><td><em><p>Associative array of optional headers @example ("Content-Transfer-Encoding" => "binary")</p>
+</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::filterHttpRequest()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">filterHttpRequest</span><span class="nb-faded-text">(string $method, string $url, array $headers = array(), string $body = null, string $contentType = null)</span> : array</code><div class="description"><p class="short_description">Filters the HTTP requests being sent to add the Authorization header.</p></div><div class="code-tabs"><div class="long-description"><p>If both AuthSub and ClientLogin tokens are set,
+AuthSub takes precedence. If an AuthSub key is set, then
+secure AuthSub authentication is used, and the request is signed.
+Requests must be signed only with the private key corresponding to the
+public key registered with Google. If an AuthSub key is set, but
+openssl support is not enabled in the PHP installation, an exception is
+thrown.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$method</th><td>string</td><td><em><p>The HTTP method</p></em></td></tr><tr><th>$url</th><td>string</td><td><em><p>The URL</p></em></td></tr><tr><th>$headers</th><td>array</td><td><em><p>An associate array of headers to be
+ sent with the request or null</p></em></td></tr><tr><th>$body</th><td>string</td><td><em><p>The body of the request or null</p></em></td></tr><tr><th>$contentType</th><td>string</td><td><em><p>The MIME content type of the body or null</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>array</td><td>The processed values in an associative array,
+ using the same names as the params</td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Gdata.App.Exception.html#\Zend_Gdata_App_Exception">\Zend_Gdata_App_Exception</a></td><td><em>if there was a signing failure</em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::filterHttpResponse()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">filterHttpResponse</span><span class="nb-faded-text">(<a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a> $response)</span> : <a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></code><div class="description"><p class="short_description">Method for filtering the HTTP response, though no filtering is
+currently done.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$response</th><td><a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></td><td><em><p>The response object to filter</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></td><td>The filterd response object</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getAdapter()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getAdapter</span><span class="nb-faded-text">()</span> : <a href="../files/Http.Client.Adapter.Interface.html#\Zend_Http_Client_Adapter_Interface">\Zend_Http_Client_Adapter_Interface</a> | string</code><div class="description"><p class="short_description">Return the current connection adapter</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Adapter.Interface.html#\Zend_Http_Client_Adapter_Interface">\Zend_Http_Client_Adapter_Interface</a> | string</td><td>$adapter</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getAuthSubPrivateKeyId()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getAuthSubPrivateKeyId</span><span class="nb-faded-text">()</span> : string</code><div class="description"><p class="short_description">Gets the openssl private key id</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>The private key</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getAuthSubToken()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getAuthSubToken</span><span class="nb-faded-text">()</span> : string</code><div class="description"><p class="short_description">Gets the AuthSub token used for authentication</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>The token</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getClientLoginToken()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getClientLoginToken</span><span class="nb-faded-text">()</span> : string</code><div class="description"><p class="short_description">Gets the ClientLogin token used for authentication</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td>The token</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getCookieJar()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getCookieJar</span><span class="nb-faded-text">()</span> : \Zend_Http_CookieJar | null</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Return the current cookie jar or null if none.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getCookieJar()">\Zend_Http_Client::getCookieJar()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>\Zend_Http_CookieJar | null</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getHeader()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getHeader</span><span class="nb-faded-text">(string $key)</span> : string | array | null</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get the value of a specific header</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getHeader()">\Zend_Http_Client::getHeader()</a></small></div><div class="code-tabs"><div class="long-description"><p>Note that if the header has more than one value, an array
+will be returned.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$key</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string | array | null</td><td>The header value or null if it is not set</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getLastRequest()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getLastRequest</span><span class="nb-faded-text">()</span> : string</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get the last HTTP request as string</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getLastRequest()">\Zend_Http_Client::getLastRequest()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getLastResponse()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getLastResponse</span><span class="nb-faded-text">()</span> : <a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get the last HTTP response received by this client</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getLastResponse()">\Zend_Http_Client::getLastResponse()</a></small></div><div class="code-tabs"><div class="long-description"><p>If $config['storeresponse'] is set to false, or no response was
+stored yet, will return null</p></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></td><td>or null if none</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getRedirectionsCount()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getRedirectionsCount</span><span class="nb-faded-text">()</span> : int</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get the number of redirections done on the last request</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getRedirectionsCount()">\Zend_Http_Client::getRedirectionsCount()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>int</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getStream()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getStream</span><span class="nb-faded-text">()</span> : boolean | string</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get status of streaming for received data</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getStream()">\Zend_Http_Client::getStream()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean | string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getStreamingRequest()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getStreamingRequest</span><span class="nb-faded-text">()</span> : boolean</code><div class="description"><p class="short_description">Check whether the client is set to perform streaming requests.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean</td><td>True if yes, false otherwise.</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getUnmaskStatus()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getUnmaskStatus</span><span class="nb-faded-text">()</span> : boolean</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Returns the currently configured unmask status</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getUnmaskStatus()">\Zend_Http_Client::getUnmaskStatus()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td>boolean</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::getUri()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">getUri</span><span class="nb-faded-text">(boolean $as_string = false)</span> : <a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> | string</code><div class="description"><span class="attribute">inherited</span><p class="short_description">Get the URI for the next request</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::getUri()">\Zend_Http_Client::getUri()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$as_string</th><td>boolean</td><td><em><p>If true, will return the URI as a string</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> | string</td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::request()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">request</span><span class="nb-faded-text">(string $method = null)</span> : <a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Send the HTTP request and return an HTTP response object</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::request()">\Zend_Http_Client::request()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$method</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Response.html#\Zend_Http_Response">\Zend_Http_Response</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::resetParameters()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">resetParameters</span><span class="nb-faded-text">(bool $clearAll = false)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><p class="short_description">Clear all custom parameters we set.</p></div><div class="code-tabs"><div class="long-description"><p>Should be used to reset the request parameters if the client is
+used for several concurrent requests.</p>
+
+<p>clearAll parameter controls if we clean just parameters or also
+headers and last_*</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$clearAll</th><td>bool</td><td><em><p>Should all data be cleared?</p>
+</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setAdapter()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setAdapter</span><span class="nb-faded-text">(<a href="../files/Http.Client.Adapter.Interface.html#\Zend_Http_Client_Adapter_Interface">\Zend_Http_Client_Adapter_Interface</a> $adapter)</span> : void</code><div class="description"><p class="short_description">Load the connection adapter</p></div><div class="code-tabs"><div class="long-description"><p>While this method is not called more than one for a client, it is
+seperated from ->request() to preserve logic and readability</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$adapter</th><td><a href="../files/Http.Client.Adapter.Interface.html#\Zend_Http_Client_Adapter_Interface">\Zend_Http_Client_Adapter_Interface</a></td><td><em></em></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setAuth()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setAuth</span><span class="nb-faded-text">(string | false $user, string $password = '', string $type = self::AUTH_BASIC)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set HTTP authentication parameters</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setAuth()">\Zend_Http_Client::setAuth()</a></small></div><div class="code-tabs"><div class="long-description"><p>$type should be one of the supported types - see the self::AUTH_*
+constants.</p>
+
+<p>To enable authentication:</p>
+
+<pre><code>$this->setAuth('shahar', 'secret', Zend_Http_Client::AUTH_BASIC);
+</code></pre>
+
+<p>To disable authentication:</p>
+
+<pre><code>$this->setAuth(false);
+</code></pre></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$user</th><td>string | false</td><td><em><p>User name or false disable authentication</p></em></td></tr><tr><th>$password</th><td>string</td><td><em><p>Password</p></em></td></tr><tr><th>$type</th><td>string</td><td><em><p>Authentication type</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table><strong>Details</strong><dl class="function-info"><dt>See</dt><dd>\http://www.faqs.org/rfcs/rfc2617.html
+  
+ </dd></dl></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setAuthSubPrivateKey()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setAuthSubPrivateKey</span><span class="nb-faded-text">(string $key, string $passphrase = null)</span> : <a href="../files/Gdata.HttpClient.html#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></code><div class="description"><p class="short_description">Sets the PEM formatted private key to be used for secure AuthSub auth.</p></div><div class="code-tabs"><div class="long-description"><p>In order to call this method, openssl must be enabled in your PHP
+installation. Otherwise, a Zend_Gdata_App_InvalidArgumentException
+will be thrown.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$key</th><td>string</td><td><em><p>The private key</p></em></td></tr><tr><th>$passphrase</th><td>string</td><td><em><p>The optional private key passphrase</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Gdata.HttpClient.html#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></td><td>Provides a fluent interface</td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Gdata.App.InvalidArgumentException.html#\Zend_Gdata_App_InvalidArgumentException">\Zend_Gdata_App_InvalidArgumentException</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setAuthSubPrivateKeyFile()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setAuthSubPrivateKeyFile</span><span class="nb-faded-text">(string $file, string $passphrase = null, bool $useIncludePath = false)</span> : void</code><div class="description"><p class="short_description">Sets the PEM formatted private key, as read from a file.</p></div><div class="code-tabs"><div class="long-description"><p>This method reads the file and then calls setAuthSubPrivateKey()
+with the file contents.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$file</th><td>string</td><td><em><p>The location of the file containing the PEM key</p></em></td></tr><tr><th>$passphrase</th><td>string</td><td><em><p>The optional private key passphrase</p></em></td></tr><tr><th>$useIncludePath</th><td>bool</td><td><em><p>Whether to search the include_path
+ for the file</p></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setAuthSubToken()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setAuthSubToken</span><span class="nb-faded-text">(string $token)</span> : <a href="../files/Gdata.HttpClient.html#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></code><div class="description"><p class="short_description">Sets the AuthSub token used for authentication</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$token</th><td>string</td><td><em><p>The token</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Gdata.HttpClient.html#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></td><td>Provides a fluent interface</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setClientLoginToken()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setClientLoginToken</span><span class="nb-faded-text">(string $token)</span> : <a href="../files/Gdata.HttpClient.html#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></code><div class="description"><p class="short_description">Sets the ClientLogin token used for authentication</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$token</th><td>string</td><td><em><p>The token</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Gdata.HttpClient.html#\Zend_Gdata_HttpClient">\Zend_Gdata_HttpClient</a></td><td>Provides a fluent interface</td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setConfig()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setConfig</span><span class="nb-faded-text">(\Zend_Config $config = array())</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set configuration parameters for this HTTP client</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setConfig()">\Zend_Http_Client::setConfig()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$config</th><td>\Zend_Config</td><td><em><p>| array $config</p>
+</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setCookie()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setCookie</span><span class="nb-faded-text">(\Zend_Http_Cookie | string $cookie, string | null $value = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Add a cookie to the request.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setCookie()">\Zend_Http_Client::setCookie()</a></small></div><div class="code-tabs"><div class="long-description"><p>If the client has no Cookie Jar, the cookies
+will be added directly to the headers array as "Cookie" headers.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$cookie</th><td>\Zend_Http_Cookie | string</td><td><em></em></td></tr><tr><th>$value</th><td>string | null</td><td><em><p>If "cookie" is a string, this is the cookie value.</p>
+</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setCookieJar()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setCookieJar</span><span class="nb-faded-text">(\Zend_Http_CookieJar | boolean $cookiejar = true)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the HTTP client's cookie jar.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setCookieJar()">\Zend_Http_Client::setCookieJar()</a></small></div><div class="code-tabs"><div class="long-description"><p>A cookie jar is an object that holds and maintains cookies across HTTP requests
+and responses.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$cookiejar</th><td>\Zend_Http_CookieJar | boolean</td><td><em><p>Existing cookiejar object, true to create a new one, false to disable</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setEncType()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setEncType</span><span class="nb-faded-text">(string $enctype = self::ENC_URLENCODED)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the encoding type for POST data</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setEncType()">\Zend_Http_Client::setEncType()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$enctype</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setFileUpload()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setFileUpload</span><span class="nb-faded-text">(string $filename, string $formname, string $data = null, string $ctype = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set a file to upload (using a POST request)</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setFileUpload()">\Zend_Http_Client::setFileUpload()</a></small></div><div class="code-tabs"><div class="long-description"><p>Can be used in two ways:</p>
+
+<ol>
+<li>$data is null (default): $filename is treated as the name if a local file which
+will be read and sent. Will try to guess the content type using mime_content_type().</li>
+<li>$data is set - $filename is sent as the file name, but $data is sent as the file
+contents and no file is read from the file system. In this case, you need to
+manually set the Content-Type ($ctype) or it will default to
+application/octet-stream.</li>
+</ol></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$filename</th><td>string</td><td><em><p>Name of file to upload, or name to save as</p></em></td></tr><tr><th>$formname</th><td>string</td><td><em><p>Name of form element to send as</p></em></td></tr><tr><th>$data</th><td>string</td><td><em><p>Data to send (if null, $filename is read and sent)</p>
+</em></td></tr><tr><th>$ctype</th><td>string</td><td><em><p>Content type to use (if $data is set and $ctype is
+ null, will be application/octet-stream)</p>
+</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setHeaders()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setHeaders</span><span class="nb-faded-text">(string | array $name, mixed $value = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set one or more request headers</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setHeaders()">\Zend_Http_Client::setHeaders()</a></small></div><div class="code-tabs"><div class="long-description"><p>This function can be used in several ways to set the client's request
+headers:
+1. By providing two parameters: $name as the header to set (e.g. 'Host')
+ and $value as it's value (e.g. 'www.example.com').
+2. By providing a single header string as the only parameter
+ e.g. 'Host: www.example.com'
+3. By providing an array of headers as the first parameter
+ e.g. array('host' => 'www.example.com', 'x-foo: bar'). In This case
+ the function will call itself recursively for each array item.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$name</th><td>string | array</td><td><em><p>Header name, full header string ('Header: value')
+ or an array of headers</p>
+</em></td></tr><tr><th>$value</th><td>mixed</td><td><em><p>Header value or null</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setMethod()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setMethod</span><span class="nb-faded-text">(string $method = self::GET)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the next request's method</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setMethod()">\Zend_Http_Client::setMethod()</a></small></div><div class="code-tabs"><div class="long-description"><p>Validated the passed method and sets it. If we have files set for
+POST requests, and the new method is not POST, the files are silently
+dropped.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$method</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setParameterGet()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setParameterGet</span><span class="nb-faded-text">(string | array $name, string $value = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set a GET parameter for the request.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setParameterGet()">\Zend_Http_Client::setParameterGet()</a></small></div><div class="code-tabs"><div class="long-description"><p>Wrapper around _setParameter</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$name</th><td>string | array</td><td><em></em></td></tr><tr><th>$value</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setParameterPost()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setParameterPost</span><span class="nb-faded-text">(string | array $name, string $value = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set a POST parameter for the request.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setParameterPost()">\Zend_Http_Client::setParameterPost()</a></small></div><div class="code-tabs"><div class="long-description"><p>Wrapper around _setParameter</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$name</th><td>string | array</td><td><em></em></td></tr><tr><th>$value</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setRawData()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setRawData</span><span class="nb-faded-text">(string | resource $data, string $enctype = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the raw (already encoded) POST data.</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setRawData()">\Zend_Http_Client::setRawData()</a></small></div><div class="code-tabs"><div class="long-description"><p>This function is here for two reasons:
+1. For advanced user who would like to set their own data, already encoded
+2. For backwards compatibilty: If someone uses the old post($data) method.
+ this method will be used to set the encoded data.</p>
+
+<p>$data can also be stream (such as file) from which the data will be read.</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$data</th><td>string | resource</td><td><em></em></td></tr><tr><th>$enctype</th><td>string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setRawDataStream()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setRawDataStream</span><span class="nb-faded-text">(string $data, string $enctype = null)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><p class="short_description">Set the raw (already encoded) POST data from a stream source.</p></div><div class="code-tabs"><div class="long-description"><p>This is used to support POSTing from open file handles without
+caching the entire body into memory. It is a wrapper around
+Zend_Http_Client::setRawData().</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$data</th><td>string</td><td><em><p>The request data</p></em></td></tr><tr><th>$enctype</th><td>string</td><td><em><p>The encoding type</p></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setStream()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setStream</span><span class="nb-faded-text">(string | boolean $streamfile = true)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set streaming for received data</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setStream()">\Zend_Http_Client::setStream()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$streamfile</th><td>string | boolean</td><td><em><p>Stream file, true for temp file, false/null for no streaming</p>
+</em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setStreamingRequest()" class="anchor"></a><div class="method public"><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setStreamingRequest</span><span class="nb-faded-text">(boolean $value)</span> : void</code><div class="description"><p class="short_description">Set the streamingRequest variable which controls whether we are
+sending the raw (already encoded) POST data from a stream source.</p></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$value</th><td>boolean</td><td><em><p>The value to set.</p></em></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setUnmaskStatus()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setUnmaskStatus</span><span class="nb-faded-text">(boolean $status = true)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the unmask feature for GET parameters as array</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setUnmaskStatus()">\Zend_Http_Client::setUnmaskStatus()</a></small></div><div class="code-tabs"><div class="long-description"><p>Example:
+foo%5B0%5D=a&amp;foo%5B1%5D=b
+becomes
+foo=a&amp;foo=b</p>
+
+<p>This is usefull for some services</p></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$status</th><td>boolean</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table></div><div class="clear"></div></div><a id="\Zend_Gdata_HttpClient::setUri()" class="anchor"></a><div class="method public inherited_from "><a href="#" class="gripper"><img src="../images/icons/arrow_right.png"></img><img src="../images/icons/arrow_down.png" style="display: none;"></img></a><code class="title"><img src="../images/icons/method.png" alt="method" title="method"></img><img src="../images/icons/visibility_public.png" style="margin-right: 5px" alt="public"></img><span class="highlight">setUri</span><span class="nb-faded-text">(<a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> | string $uri)</span> : <a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></code><div class="description"><span class="attribute">inherited</span><p class="short_description">Set the URI for the next request</p><small class="inherited_from">Inherited from:
+ <a href="../files/Http.Client.html#\Zend_Http_Client::setUri()">\Zend_Http_Client::setUri()</a></small></div><div class="code-tabs"><div class="long-description"></div><strong>Parameters</strong><table class="argument-info"><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tr><th>$uri</th><td><a href="../files/Uri.Http.html#\Zend_Uri_Http">\Zend_Uri_Http</a> | string</td><td><em></em></td></tr></table><strong>Returns</strong><table class="argument-info"><thead><tr><th>Type</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.html#\Zend_Http_Client">\Zend_Http_Client</a></td><td></td></tr></table><strong>Throws</strong><table class="argument-info"><thead><tr><th>Exception</th><th>Description</th></tr></thead><tr><td><a href="../files/Http.Client.Exception.html#\Zend_Http_Client_Exception">\Zend_Http_Client_Exception</a></td><td><em></em></td></tr></table></div><div class="clear"></div></div></div></div></div><small class="footer">
+ Documentation was generated by
+ <a href="http://phpdoc.org">phpDocumentor
+ 2.0.0a12</a>.
+ </small></body></html>