r.variables and r.headersIn not iterable
August 28, 2019 08:51AM
Using Javascript, the list of variables and the list of headers coming with a request (with r.headersOut, we can control what we put there) are not allowed to iterate over.

I would appreciate if Object.entries() would work on those "external" objects that basically present themselves as arrays.
Alternatively, some form of iteration (enumerating the keys) would also suffice.


Edited 1 time(s). Last edit at 08/28/2019 08:54AM by j94305.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready