Browse Source

document fix for ZF-5708

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19229 44c647ce-9c0f-0410-b52a-842ac1e357ba
stas 16 years ago
parent
commit
d837f1e66c

+ 7 - 3
documentation/manual/en/module_specs/Zend_Http_Client-Advanced.xml

@@ -284,12 +284,16 @@ $client->setUri('http://christer:secret@example.com');
         <note>
             <title>Resetting parameters</title>
             <para>
-                Note that non-request specific headers are not reset when the
-                resetParameters method is used. As a matter of fact, only the
-                'Content-length' and 'Content-type' headers are reset. This
+                Note that non-request specific headers are not reset by default 
+                when the <methodname>resetParameters()</methodname> method is used. 
+                Only the 'Content-length' and 'Content-type' headers are reset. This
                 allows you to set-and-forget headers like 'Accept-language' and
                 'Accept-encoding'
             </para>
+            <para>
+            To clean all headers and other data except for URI and method, use 
+            <methodname>resetParameters(true)</methodname>.
+            </para>
         </note>
         <para>
             Another feature designed specifically for consecutive requests is