@add_route("<STR_LIT>", "<STR_LIT>", methods=["<STR_LIT:GET>"])<EOL>@add_route("<STR_LIT>", "<STR_LIT>", methods=["<STR_LIT:GET>"])<EOL>def auth(context, request):
if ploneapi.user.is_anonymous():<EOL><INDENT>request.response.setStatus(<NUM_LIT>)<EOL>request.response.setHeader('<STR_LIT>',<EOL>'<STR_LIT>', <NUM_LIT:1>)<EOL><DEDENT>logger.info("<STR_LIT>")<EOL>return {}<EOL>
Basic Authentication