01:11:57  * TrentonAdamsjoined
01:11:57  * TrentonAdamsquit (Changing host)
01:11:57  * TrentonAdamsjoined
01:13:13  <TrentonAdams>I'm trying to handle content security policy reports as json. They are coming in from chrome and firefox as "application/csp-report", which is indeed json. MS edge sends application/json, so it works just fine, but all I get as req.body is "{}" when firefox or chrome submit reports
01:13:39  <TrentonAdams>So, how do I essentially force the content-type to application/json on incoming?
05:02:20  * nikiviquit (Quit: ZNC 1.6.5 - http://znc.in)
05:54:39  <TrentonAdams>I ended up not doing that at all, I passed a parameter to bodyParser: bodyParser.json({type: ["application/json", "application/csp-report"]})
05:57:49  * admjoined
05:58:11  * admpart
14:52:59  * svennidaljoined
14:53:01  * svennidalpart
15:25:41  * admin1changed nick to roger_rabbit
15:25:58  * roger_rabbitquit (Changing host)
15:25:58  * roger_rabbitjoined
20:23:40  * ome_joined
20:29:11  * omequit (*.net *.split)
20:29:11  * roger_rabbitquit (*.net *.split)
20:30:55  * roger_rabbitjoined
20:31:37  * ome_quit (Ping timeout: 256 seconds)
20:34:20  * ome_joined
20:34:49  * ome_changed nick to ome
20:36:00  * omequit (Excess Flood)
20:36:33  * omejoined
23:00:47  * omequit (Changing host)
23:00:47  * omejoined
23:40:46  * sysrexquit (Remote host closed the connection)