Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 295 Bytes
-module(outmodtest).
-export([auth/2, out401/3]).
-include("../../include/yaws.hrl").
-include("../../include/yaws_api.hrl").
auth(_Arg, _Auth) ->
{appmod, ?MODULE}.
out401(_Arg, _Auth, Realm) ->
[{status, 200}, {header, "X-Outmod-Test: true"},
{content, "text/plain", Realm}].
Something went wrong with that request. Please try again.