From 7bb786d57c8477df511b5a3389f062ad628d3957 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Thu, 2 Oct 2014 22:14:26 -0400 Subject: [PATCH] Remove request.website entirely --- aspen/algorithms/website.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/aspen/algorithms/website.py b/aspen/algorithms/website.py index 4e442352c..9622e4d0d 100644 --- a/aspen/algorithms/website.py +++ b/aspen/algorithms/website.py @@ -54,11 +54,6 @@ def parse_body_into_request(request, website): ) -def tack_website_onto_request(request, website): - # XXX Why? - request.website = website - - def raise_200_for_OPTIONS(request): """A hook to return 200 to an 'OPTIONS *' request""" if request.line.method == "OPTIONS" and request.line.uri == "*":