Skip to content

Commit 98c43f7

Browse files
committed
docs: add docs
1 parent 3433e28 commit 98c43f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

user_guide_src/source/libraries/curlrequest.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ Sharing Options
2828

2929
Due to historical reasons, by default, the CURLRequest shares all the options between requests.
3030
If you send more than one request with an instance of the class,
31-
this behavior may cause an error request with unnecessary headers.
31+
this behavior may cause an error request with unnecessary headers and body.
3232

3333
You can change the behavior by editing the following config parameter value in **app/Config/CURLRequest.php** to ``false``:
3434

3535
.. literalinclude:: curlrequest/001.php
3636

37+
.. note:: Before v4.2.0, the request body is not reset even if ``$shareOptions`` is false due to a bug.
38+
3739
*******************
3840
Loading the Library
3941
*******************

0 commit comments

Comments
 (0)