[99s-extend] Rewriting URLs

Loïc Hoguin essen at ninenines.eu
Thu Jan 29 23:24:59 CET 2015


They are optional callbacks, so I doubt that's it.

On 01/29/2015 11:23 PM, Paul Dickson wrote:
> The status 400 is coming from cowboy_rest, when it complains that
> handler cowboy_static lacks the functions 'service_available',
> 'known_methods', 'uri_too_long', and 'allowed_methods'.  Which indeed
> it does not have.
>
> The only place I mention cowboy_static is in the dispatch rule:
>     {"/music/[...]", cowboy_static, {dir, "", [
>         {mimetypes, cow_mimetypes, all}]}},
>

-- 
Loïc Hoguin
http://ninenines.eu


More information about the Extend mailing list