Test for COUCHDB-1679. Showing how the etag breaks cors
Check that the content-type from the RequestHeaders is not undefined. Fixes COUCHDB-1697
Merge branch '1697-fix-if-non-match-cors'