                     url: options.url
                     data: options.data
                     background: true
+                    config: (xhr) ->
+                        xhr.setRequestHeader('Content-Type', 'application/json')
+                        if requestAuthHeaderKey? and requestAuthHeaderValue?
+                            xhr.setRequestHeader(
+                                requestAuthHeaderKey
+                                requestAuthHeaderValue
+                            )
                 .then(successFn, failureFn)
 
         return @actions

                    for callback in callbacks[name]
                        callback(args)
                
        Object.keys(async).map (name) ->
            configFn = async[name]


        # Call the constructor if present
        if 'init' of store
            store.init()

        store.waitFor = (otherStore) ->


        return store

