-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.4.2, 5.4.3
-
None
-
Sprint 81 (Oct 2021), Sprint 82 (Nov 2021), Sprint 83 (Dec 2021), Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022)
-
0.5
Steps to reproduce:
- Create a script item to retrive an url that sets multiple cookies on request ex:
req = new HttpRequest();
resp=req.post("http://{$BASE_IP}/lua/api",payload);
return JSON.stringify(req.getHeaders()['Set-Cookie']);
Result
Only last 'Set-Cookie' header is returned
Expected
An array or some other way to retrive all 'Set-Cookie' headers
- causes
-
ZBX-20362 src/libs/zbxembed/httprequest.c build failed in CentOS 7
- Closed