How to access backbone.js ajax response headers

Posted . Visible to the public.
var request = foo.destroy({
    success: function() {
        window.location = request.getResponseHeader('Location');
    }
})
Erick Bajao
Keywords
javascript
Posted by Erick Bajao to Erick Bajao's Cards (2011-11-16 02:54)