Subj : Network messsage information missing
To   : Nightfox
From : echicken
Date : Wed Oct 21 2015 01:36 pm

> I had a look at the headers in JavaScript.  For instance, if I have a message header object called msgHdr, I did this:
> for (var property in msgHdr)
>    console.print(property + ": " + msgHdr[property] + "\r\n");

You might try 'console.print(JSON.stringify(msgHdr));' to get a bit more depth.  The header has a 'field_list' property which (the docs suggest anyway) is an array of objects each with '.type' and '.data' properties.  Iterating over top-level properties would miss this (or just show [Object object] or somesuch as the value for this property.)

Of course, I don't know what you'll find in that array, but it might be a place where any unaccounted-for header fields get stuffed into.

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

---
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com