Skip to content

elli-lib/elli_xpblfe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.