Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.08 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.08 KB

elli_xpblfe

Build Status img img

An elli middleware to add the following header to all responses:

X-Powered-By: LFE

Config

rebar.config:

{elli_xpblfe, "0.1.1"}

Usage

Just add it to the mods in your elli_middleware callback args:

Config = [
          {mods, [
                  %% ...
                  {elli_xpblfe, []}
                 ]}
         ],
elli:start_link([..., {callback, elli_middleware}, {callback_args, Config}]).

License

Copyright © 2016 Eric Bailey This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the LICENSE file for more details.