jcoglan / restore

Simple remoteStorage server written in Node.js
293 stars 27 forks source link

Need Access-Control-Expose-Headers on GET/PUT responses #19

Closed ntuckerxx closed 10 years ago

ntuckerxx commented 10 years ago

RemoteStorage.js expects to be able to read the ETag header on all responses, but reStore only adds the Access-Control-Expose-Headers header on OPTIONS responses. This causes client-side script to throw errors when attempting to get ETags from an XHR response.

jcoglan commented 10 years ago

This should be fixed in https://github.com/jcoglan/restore/commit/effeb1de4600f32b7281714cf4485a8640e56e69.