diff --git a/staticgenerator/__init__.py b/staticgenerator/__init__.py index 185fc63..aa72960 100644 --- a/staticgenerator/__init__.py +++ b/staticgenerator/__init__.py @@ -153,6 +153,7 @@ def get_content_from_path(self, path): """ request = self.http_request() + request.method = 'GET' request.path_info = path request.META.setdefault('SERVER_PORT', 80) request.META.setdefault('SERVER_NAME', self.server_name)