File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ error message string "precondition failed". This was changed in version 3.7 to r
13
13
same error codes, but an error message string of "conflict". Version 3.8 changes this again
14
14
so the error message string is now "conflict, _ rev values do not match".
15
15
16
+ The ` Cursor ` class will now fetch outstanding cursor result data via HTTP POST requests to
17
+ ` /_api/cursor/<cursor-id> ` . It previously fetched further results via HTTP PUT requests from
18
+ the same address. The change is necessary because fetching further results is not an
19
+ idempotent operation, but the HTTP standard requires PUT operations to be idempotent.
16
20
17
21
## Release notes for the ArangoDB-PHP driver 3.7.x
18
22
Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ private function sanitize(array $rows)
690
690
private function fetchOutstanding ()
691
691
{
692
692
// continuation
693
- $ response = $ this ->_connection ->put ($ this ->url () . '/ ' . $ this ->_id , '' , []);
693
+ $ response = $ this ->_connection ->post ($ this ->url () . '/ ' . $ this ->_id , '' , []);
694
694
++$ this ->_fetches ;
695
695
696
696
$ data = $ response ->getJson ();
You can’t perform that action at this time.
0 commit comments