We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3433e28 commit 98c43f7Copy full SHA for 98c43f7
1 file changed
user_guide_src/source/libraries/curlrequest.rst
@@ -28,12 +28,14 @@ Sharing Options
28
29
Due to historical reasons, by default, the CURLRequest shares all the options between requests.
30
If you send more than one request with an instance of the class,
31
-this behavior may cause an error request with unnecessary headers.
+this behavior may cause an error request with unnecessary headers and body.
32
33
You can change the behavior by editing the following config parameter value in **app/Config/CURLRequest.php** to ``false``:
34
35
.. literalinclude:: curlrequest/001.php
36
37
+.. note:: Before v4.2.0, the request body is not reset even if ``$shareOptions`` is false due to a bug.
38
+
39
*******************
40
Loading the Library
41
0 commit comments