A simple but useful first plugin

Custom Header

The simplest possible plugin that actually does something useful. A custom header and value are added to every outgoing response that matches a given path-pattern.

Want to use JavaScript to inject headers
into your HTTP response?

Learn how to use plugins within the RWSERVE
request/response cycle.

Use the rwserve-custom-header
plugin as a starting point for your next project.

CUSTOM HEADER

A simple but useful first plugin

🔗 🔎