GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-chttpd/pull/99
Add chttpd_plugin:before_response/4 hook
This hook is useful in following casses:
- to inject vendor specific headers
- to inject vendor keys into json objects returned to client
- to override return code
This PR depends on:
- https://github.com/apache/couchdb-couch/pull/133
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-chttpd before_response_hook
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-chttpd/pull/99.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #99
----
commit e769e8ae0f3eb75bfedfd6d429e9b01daa2ca9b4
Author: ILYA Khlopotov <[email protected]>
Date: 2016-01-20T14:03:12Z
Add chttpd_plugin:before_response/4 hook
This hook is useful in following casses:
- to inject vendor specific headers
- to inject vendor keys into json objects returned to client
- to override return code
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---