0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 13:10:24 +00:00

Implement authorization header parsing

Basic HTTP authorization according to RFC 2617 is implemented.
Added an example of its usage with REST handler.
This commit is contained in:
Ivan Lisenkov 2013-01-30 00:30:05 +04:00
parent fd5a977a39
commit 54c6d3fa3a
11 changed files with 228 additions and 0 deletions

View file

@ -0,0 +1,15 @@
%% Feel free to use, reuse and abuse the code in this file.
{application, basic_auth, [
{description, "Cowboy Basic HTTP Authorization example."},
{vsn, "1"},
{modules, []},
{registered, []},
{applications, [
kernel,
stdlib,
cowboy
]},
{mod, {basic_auth_app, []}},
{env, []}
]}.