koajs / koa-body

koa body parser middleware
MIT License
950 stars 130 forks source link

add "application/reports+json" to allowed types #204

Closed stafyniaksacha closed 2 years ago

stafyniaksacha commented 2 years ago

This allows to parse reports from network error logging in addition to csp

https://www.w3.org/TR/network-error-logging/#nel-response-header

MarkHerhold commented 2 years ago

this is a reasonable default to add - thanks