Check existence of rawBody instead of body
Check existence of rawBody instead of body

The Koa body parser module defaults to strict mode in which case the
body will always be an object. Empty requests can be checked by looking
at the raw body instead.

See https://github.com/koajs/bodyparser#options.

OHM-467

jembi/openhim-core-js,jembi/openhim-core-js