-
- if (!config.IsValidUser (context.User, context.Request.HttpMethod)) {
- HttpException e = new HttpException (401, "Unauthorized");
+#endif
+ if (!config.IsValidUser (context.User, req.HttpMethod)) {
+ HttpException e = new HttpException (401, "Unauthorized");
+ HttpResponse response = context.Response;