jembi/openhim-core-js — pull request #232 by BMartinos (2014-10-15 10:05:58+00:00)
Title: Downgraded Koa Cors version - issue with Access-Control-Allow-Headers not being set correctly

After a bit of investigation i found that Koa Cors does not set the correct "Access-Control-Allow-Headers". If no options is supplied for cors() then it should the 'access-control-request-headers'. These headers include 'content-type' when updating/adding a record. with the 0.0.12 and 0.0.13 version of Cors this does not seem to be happening

Reverting Koa Cors to version 0.0.11 as this fixes the saving issue as well as the preflight options issue previously fixed