marmelab/ng-admin — pull request #44 by manuquentin (2014-09-18 06:47:13+00:00)
Title: [RFR] Allows to add extra headers for each actions

Usage:
```js
Application('backend')
.headers(function(entityName, action) {
return {
'X-User': entityName === 'post' ? 'username' : 'user2',
'X-Password': 'pwd'
}
})
```

Fixes #43