Welcome! Log In Create A New Profile

Advanced

r.variables and r.headersIn not iterable

Posted by j94305 
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.

Cheers,
--j.



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: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready